Class DataChannelStateMachine
A state machine for data channel 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 DataChannelStateMachine : StateMachine<DataChannelState>
Constructors
DataChannelStateMachine()
Initializes a new instance of the DataChannelStateMachine class.
Declaration
public DataChannelStateMachine()
Methods
StateToValue(DataChannelState)
Converts a state to an integer value.
Declaration
protected override int StateToValue(DataChannelState state)
Parameters
Type | Name | Description |
---|---|---|
DataChannelState | state | The state. |
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
FM.LiveSwitch.StateMachine<FM.LiveSwitch.DataChannelState>.StateToValue(FM.LiveSwitch.DataChannelState)
ValueToState(Int32)
Converts an integer value to a state.
Declaration
protected override DataChannelState ValueToState(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | The integer value. |
Returns
Type | Description |
---|---|
DataChannelState |
Overrides
FM.LiveSwitch.StateMachine<FM.LiveSwitch.DataChannelState>.ValueToState(System.Int32)