Search Results for

    Show / Hide Table of Contents

    Class DataChannelStateMachine

    A state machine for data channel states.

    Inheritance
    System.Object
    StateMachine<DataChannelState>
    DataChannelStateMachine
    Inherited Members
    StateMachine<DataChannelState>.State
    StateMachine<DataChannelState>.StateValue
    StateMachine<DataChannelState>.SystemTimestamp
    StateMachine<DataChannelState>.LastStateTicks
    StateMachine<DataChannelState>.LastStateMillis
    StateMachine<DataChannelState>.AddTransition(DataChannelState, DataChannelState)
    StateMachine<DataChannelState>.CanTransition(DataChannelState)
    StateMachine<DataChannelState>.IsReachable(DataChannelState)
    StateMachine<DataChannelState>.Transition(DataChannelState)
    StateMachine<DataChannelState>.GetPromise<R>(DataChannelState, R)
    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)
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0