Package com.barchart.udt.nio
Enum Class KindUDT
- All Implemented Interfaces:
Serializable,Comparable<KindUDT>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionServer mode: listens and accepts connections; generatesCONNECTORas a result ofSocketUDT.accept()Client mode: channel which initiates connections to servers; options are user-provided.Rendezvous mode: symmetric peer channel on each side of the connection. -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
ACCEPTOR
Server mode: listens and accepts connections; generatesCONNECTORas a result ofSocketUDT.accept()- See Also:
-
CONNECTOR
Client mode: channel which initiates connections to servers; options are user-provided.Server mode: channel which is a result of accept(); inherits options from parent
ACCEPTOR.- See Also:
-
RENDEZVOUS
Rendezvous mode: symmetric peer channel on each side of the connection.- See Also:
-
-
Constructor Details
-
KindUDT
private KindUDT()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-