Amazon Kinesis Webrtc C SDK
StateMachine.c File Reference
#include "../Include_i.h"
Include dependency graph for StateMachine.c:

Macros

#define LOG_CLASS   "SignalingState"
 

Functions

STATUS defaultSignalingStateTransitionHook (UINT64 customData, PUINT64 stateTransitionWaitTime)
 
STATUS signalingStateMachineIterator (PSignalingClient pSignalingClient, UINT64 expiration, UINT64 finalState)
 
SIGNALING_CLIENT_STATE getSignalingStateFromStateMachineState (UINT64 state)
 
STATUS acceptSignalingStateMachineState (PSignalingClient pSignalingClient, UINT64 state)
 
STATUS fromNewSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeNewSignalingState (UINT64 customData, UINT64 time)
 
STATUS fromGetTokenSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeGetTokenSignalingState (UINT64 customData, UINT64 time)
 
STATUS fromDescribeSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeDescribeSignalingState (UINT64 customData, UINT64 time)
 
STATUS fromDescribeMediaStorageConfState (UINT64 customData, PUINT64 pState)
 
STATUS executeDescribeMediaStorageConfState (UINT64 customData, UINT64 time)
 
STATUS fromCreateSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeCreateSignalingState (UINT64 customData, UINT64 time)
 
STATUS fromGetEndpointSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeGetEndpointSignalingState (UINT64 customData, UINT64 time)
 
STATUS fromGetIceConfigSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeGetIceConfigSignalingState (UINT64 customData, UINT64 time)
 
STATUS fromReadySignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeReadySignalingState (UINT64 customData, UINT64 time)
 
STATUS fromConnectSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeConnectSignalingState (UINT64 customData, UINT64 time)
 
STATUS fromConnectedSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeConnectedSignalingState (UINT64 customData, UINT64 time)
 
STATUS fromJoinStorageSessionState (UINT64 customData, PUINT64 pState)
 
STATUS executeJoinStorageSessionState (UINT64 customData, UINT64 time)
 
STATUS fromJoinStorageSessionWaitingState (UINT64 customData, PUINT64 pState)
 
STATUS executeJoinStorageSessionWaitingState (UINT64 customData, UINT64 time)
 
STATUS fromJoinStorageSessionConnectedState (UINT64 customData, PUINT64 pState)
 
STATUS executeJoinStorageSessionConnectedState (UINT64 customData, UINT64 time)
 
STATUS fromDisconnectedSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeDisconnectedSignalingState (UINT64 customData, UINT64 time)
 
STATUS fromDeleteSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeDeleteSignalingState (UINT64 customData, UINT64 time)
 
STATUS fromDeletedSignalingState (UINT64 customData, PUINT64 pState)
 
STATUS executeDeletedSignalingState (UINT64 customData, UINT64 time)
 

Variables

StateMachineState SIGNALING_STATE_MACHINE_STATES []
 
UINT32 SIGNALING_STATE_MACHINE_STATE_COUNT = ARRAY_SIZE(SIGNALING_STATE_MACHINE_STATES)
 

Macro Definition Documentation

◆ LOG_CLASS

#define LOG_CLASS   "SignalingState"

Implementation of a signaling states machine callbacks

Function Documentation

◆ acceptSignalingStateMachineState()

STATUS acceptSignalingStateMachineState ( PSignalingClient  pSignalingClient,
UINT64  state 
)
Here is the caller graph for this function:

◆ defaultSignalingStateTransitionHook()

STATUS defaultSignalingStateTransitionHook ( UINT64  customData,
PUINT64  stateTransitionWaitTime 
)

◆ executeConnectedSignalingState()

STATUS executeConnectedSignalingState ( UINT64  customData,
UINT64  time 
)

◆ executeConnectSignalingState()

STATUS executeConnectSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeCreateSignalingState()

STATUS executeCreateSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeDeletedSignalingState()

STATUS executeDeletedSignalingState ( UINT64  customData,
UINT64  time 
)

◆ executeDeleteSignalingState()

STATUS executeDeleteSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeDescribeMediaStorageConfState()

STATUS executeDescribeMediaStorageConfState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeDescribeSignalingState()

STATUS executeDescribeSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeDisconnectedSignalingState()

STATUS executeDisconnectedSignalingState ( UINT64  customData,
UINT64  time 
)

◆ executeGetEndpointSignalingState()

STATUS executeGetEndpointSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeGetIceConfigSignalingState()

STATUS executeGetIceConfigSignalingState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeGetTokenSignalingState()

STATUS executeGetTokenSignalingState ( UINT64  customData,
UINT64  time 
)

◆ executeJoinStorageSessionConnectedState()

STATUS executeJoinStorageSessionConnectedState ( UINT64  customData,
UINT64  time 
)

◆ executeJoinStorageSessionState()

STATUS executeJoinStorageSessionState ( UINT64  customData,
UINT64  time 
)
Here is the call graph for this function:

◆ executeJoinStorageSessionWaitingState()

STATUS executeJoinStorageSessionWaitingState ( UINT64  customData,
UINT64  time 
)

◆ executeNewSignalingState()

STATUS executeNewSignalingState ( UINT64  customData,
UINT64  time 
)

◆ executeReadySignalingState()

STATUS executeReadySignalingState ( UINT64  customData,
UINT64  time 
)

◆ fromConnectedSignalingState()

STATUS fromConnectedSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromConnectSignalingState()

STATUS fromConnectSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromCreateSignalingState()

STATUS fromCreateSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromDeletedSignalingState()

STATUS fromDeletedSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromDeleteSignalingState()

STATUS fromDeleteSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromDescribeMediaStorageConfState()

STATUS fromDescribeMediaStorageConfState ( UINT64  customData,
PUINT64  pState 
)

◆ fromDescribeSignalingState()

STATUS fromDescribeSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromDisconnectedSignalingState()

STATUS fromDisconnectedSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromGetEndpointSignalingState()

STATUS fromGetEndpointSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromGetIceConfigSignalingState()

STATUS fromGetIceConfigSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromGetTokenSignalingState()

STATUS fromGetTokenSignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromJoinStorageSessionConnectedState()

STATUS fromJoinStorageSessionConnectedState ( UINT64  customData,
PUINT64  pState 
)

◆ fromJoinStorageSessionState()

STATUS fromJoinStorageSessionState ( UINT64  customData,
PUINT64  pState 
)

◆ fromJoinStorageSessionWaitingState()

STATUS fromJoinStorageSessionWaitingState ( UINT64  customData,
PUINT64  pState 
)

◆ fromNewSignalingState()

STATUS fromNewSignalingState ( UINT64  customData,
PUINT64  pState 
)

Signaling state machine callbacks

◆ fromReadySignalingState()

STATUS fromReadySignalingState ( UINT64  customData,
PUINT64  pState 
)

◆ getSignalingStateFromStateMachineState()

SIGNALING_CLIENT_STATE getSignalingStateFromStateMachineState ( UINT64  state)
Here is the caller graph for this function:

◆ signalingStateMachineIterator()

STATUS signalingStateMachineIterator ( PSignalingClient  pSignalingClient,
UINT64  expiration,
UINT64  finalState 
)
Here is the caller graph for this function:

Variable Documentation

◆ SIGNALING_STATE_MACHINE_STATE_COUNT

UINT32 SIGNALING_STATE_MACHINE_STATE_COUNT = ARRAY_SIZE(SIGNALING_STATE_MACHINE_STATES)

◆ SIGNALING_STATE_MACHINE_STATES

StateMachineState SIGNALING_STATE_MACHINE_STATES[]

Static definitions of the states