Modifier and Type | Method and Description |
---|---|
ConnectionState |
ConnectionBase.getState()
Returns the connection state
|
ConnectionState |
Connection.getState() |
static ConnectionState |
ConnectionState.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionState[] |
ConnectionState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
StateChangedCallback.stateChanged(ConnectionState oldState,
ConnectionState newState) |
Constructor and Description |
---|
InvalidStateException(ConnectionState connectionState) |