The state of a connection. More...
Public Member Functions | |
ConnectionState (int value) | |
int | getAssignedValue () |
Static Public Member Functions | |
[static initializer] | |
static ConnectionState | getByAssignedValue (int value) |
Public Attributes | |
New =(1) | |
Indicates that the connection is new and has not been started. More... | |
Initializing =(2) | |
Indicates that the connection is being initialized but no connecting attempts have been made. More... | |
Connecting =(3) | |
Indicates that the connection is currently connecting. More... | |
Connected =(4) | |
Indicates that the connection is currently connected. More... | |
Failing =(5) | |
Indicates that the connection has encountered an error and is cleaning up. More... | |
Failed =(6) | |
Indicates that the connection has encountered an error and has cleaned up. More... | |
Closing =(7) | |
Indicates that the connection has been instructed to close and is cleaning up. More... | |
Closed =(8) | |
Indicates that the connection has been instructed to close and has cleaned up. More... | |
The state of a connection.
fm.liveswitch.ConnectionState.ConnectionState | ( | int | value | ) |
|
static |
int fm.liveswitch.ConnectionState.getAssignedValue | ( | ) |
|
static |
fm.liveswitch.ConnectionState.Closed =(8) |
Indicates that the connection has been instructed to close and has cleaned up.
fm.liveswitch.ConnectionState.Closing =(7) |
Indicates that the connection has been instructed to close and is cleaning up.
fm.liveswitch.ConnectionState.Connected =(4) |
Indicates that the connection is currently connected.
fm.liveswitch.ConnectionState.Connecting =(3) |
Indicates that the connection is currently connecting.
fm.liveswitch.ConnectionState.Failed =(6) |
Indicates that the connection has encountered an error and has cleaned up.
fm.liveswitch.ConnectionState.Failing =(5) |
Indicates that the connection has encountered an error and is cleaning up.
fm.liveswitch.ConnectionState.Initializing =(2) |
Indicates that the connection is being initialized but no connecting attempts have been made.
fm.liveswitch.ConnectionState.New =(1) |
Indicates that the connection is new and has not been started.