Interface RemoteConnectorState
- All Known Implementing Classes:
AwaitingBootstrapState,BaseMessageProcessingState,BootstrapInProgressState,ConnectionReadyState,JoinMessageArrivedState,NoOperationInitialState,PairingAuthFailedState,PairingAuthSuccessState,SendPairingMessageState,SerialAwaitFirstMsgState,SocketAwaitJoinState,StreamNotConnectedState
public interface RemoteConnectorState
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanSendCommandToRemote(MenuCommand command)called before any command is sent in order for the state to disallowvoidcalled when a state machine class becomes activevoidexitState(RemoteConnectorState nextState)called when a state machine class is deactivated
-
Method Details
-
enterState
void enterState()called when a state machine class becomes active -
getAuthenticationStatus
AuthStatus getAuthenticationStatus()- Returns:
- the current authentication status as determined by the state.
-