Class ClientStateMachine
A state machine for Client states.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class ClientStateMachine : StateMachine<ClientState>
Constructors
ClientStateMachine()
Initializes a new instance of the ConnectionStateMachine class.
Declaration
public ClientStateMachine()
Methods
StateToValue(ClientState)
Converts a state to an integer value.
Declaration
protected override int StateToValue(ClientState state)
Parameters
Type | Name | Description |
---|---|---|
ClientState | state | The state. |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
FM.LiveSwitch.StateMachine<FM.LiveSwitch.ClientState>.StateToValue(FM.LiveSwitch.ClientState)
ValueToState(Int32)
Converts an integer value to a state.
Declaration
protected override ClientState ValueToState(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | The integer value. |
Returns
Type | Description |
---|---|
ClientState |
Overrides
FM.LiveSwitch.StateMachine<FM.LiveSwitch.ClientState>.ValueToState(System.Int32)