Class ConnectionReadyState
java.lang.Object
com.thecoderscorner.menu.remote.states.BaseMessageProcessingState
com.thecoderscorner.menu.remote.states.ConnectionReadyState
- All Implemented Interfaces:
RemoteConnectorState
-
Field Summary
Fields inherited from class com.thecoderscorner.menu.remote.states.BaseMessageProcessingState
context, disconnectInterval, lastReception, logger -
Constructor Summary
Constructors -
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 deactivatedprotected booleanprocessMessage(MenuCommand cmd)protected voidMethods inherited from class com.thecoderscorner.menu.remote.states.BaseMessageProcessingState
checkIfThereIsAnHbEnd, markDone, runLoop
-
Constructor Details
-
Method Details
-
getAuthenticationStatus
- Returns:
- the current authentication status as determined by the state.
-
enterState
public void enterState()Description copied from interface:RemoteConnectorStatecalled when a state machine class becomes active- Specified by:
enterStatein interfaceRemoteConnectorState- Overrides:
enterStatein classBaseMessageProcessingState
-
processTimeout
protected void processTimeout()- Specified by:
processTimeoutin classBaseMessageProcessingState
-