fm.liveswitch.ConnectionState Enum Reference

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...
 

Detailed Description

The state of a connection.

Constructor & Destructor Documentation

◆ ConnectionState()

fm.liveswitch.ConnectionState.ConnectionState ( int  value)

Member Function Documentation

◆ [static initializer]()

fm.liveswitch.ConnectionState.[static initializer]
static

◆ getAssignedValue()

int fm.liveswitch.ConnectionState.getAssignedValue ( )

◆ getByAssignedValue()

static ConnectionState fm.liveswitch.ConnectionState.getByAssignedValue ( int  value)
static

Member Data Documentation

◆ Closed

fm.liveswitch.ConnectionState.Closed =(8)

Indicates that the connection has been instructed to close and has cleaned up.

◆ Closing

fm.liveswitch.ConnectionState.Closing =(7)

Indicates that the connection has been instructed to close and is cleaning up.

◆ Connected

fm.liveswitch.ConnectionState.Connected =(4)

Indicates that the connection is currently connected.

◆ Connecting

fm.liveswitch.ConnectionState.Connecting =(3)

Indicates that the connection is currently connecting.

◆ Failed

fm.liveswitch.ConnectionState.Failed =(6)

Indicates that the connection has encountered an error and has cleaned up.

◆ Failing

fm.liveswitch.ConnectionState.Failing =(5)

Indicates that the connection has encountered an error and is cleaning up.

◆ Initializing

fm.liveswitch.ConnectionState.Initializing =(2)

Indicates that the connection is being initialized but no connecting attempts have been made.

◆ New

fm.liveswitch.ConnectionState.New =(1)

Indicates that the connection is new and has not been started.