public class ClientConnectionState extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ClientConnectionState.Error
Represents that the client is in an error state
|
static class |
ClientConnectionState.ProtocolUnsuppotedByServer
Represents that a client received a message from the server indicating that the client's protocol revision is not supported by the server
|
Modifier and Type | Field and Description |
---|---|
static ClientConnectionState |
CONNECTED_TO_SERVER
indicates that the client is connected to the server but has not yet begun communication
|
static ClientConnectionState |
DISCONNECTED_FROM_SERVER
indicates that the client is disconnected from the server
|
static ClientConnectionState |
IN_SYNC_WITH_SERVER
represents that the client is now in sync with the server
|
static ClientConnectionState |
SENT_HELLO_TO_SERVER
represents that the client has sent the hello to the server and is waiting for a response
|
Modifier | Constructor and Description |
---|---|
protected |
ClientConnectionState(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public static final ClientConnectionState DISCONNECTED_FROM_SERVER
public static final ClientConnectionState CONNECTED_TO_SERVER
public static final ClientConnectionState SENT_HELLO_TO_SERVER
public static final ClientConnectionState IN_SYNC_WITH_SERVER
protected ClientConnectionState(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object