Package com.millistream.www
Enum Class Callback.StatusCode
- All Implemented Interfaces:
Serializable
,Comparable<Callback.StatusCode>
,Constable
- Enclosing interface:
Callback
Defines the various connection states
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConnected with the server, establishing a secure channelTrying to connect with the serverDisconnected from the serverPerforming DNS lookup of the host nameClient received a Heartbeat request from the serverClient received a Hearbeat response from the serverThe secure channel with the server is established and you can now send the logon messageClient sent a Heartbeat request to the server -
Method Summary
Modifier and TypeMethodDescriptionstatic Callback.StatusCode
Returns the enum constant of this class with the specified name.static Callback.StatusCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LOOKUP
Performing DNS lookup of the host name -
CONNECTING
Trying to connect with the server -
CONNECTED
Connected with the server, establishing a secure channel -
DISCONNECTED
Disconnected from the server -
READYTOLOGON
The secure channel with the server is established and you can now send the logon message -
SND_HB_REQ
Client sent a Heartbeat request to the server -
RCV_HB_REQ
Client received a Heartbeat request from the server -
RCV_HB_RES
Client received a Hearbeat response from the server
-
-
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
-