Class AwaitingBootstrapState

java.lang.Object
com.thecoderscorner.menu.remote.states.BaseMessageProcessingState
com.thecoderscorner.menu.remote.states.AwaitingBootstrapState
All Implemented Interfaces:
RemoteConnectorState

public class AwaitingBootstrapState extends BaseMessageProcessingState
  • Constructor Details

  • Method Details

    • getAuthenticationStatus

      public AuthStatus getAuthenticationStatus()
      Returns:
      the current authentication status as determined by the state.
    • canSendCommandToRemote

      public boolean canSendCommandToRemote(MenuCommand command)
      Description copied from interface: RemoteConnectorState
      called before any command is sent in order for the state to disallow
      Parameters:
      command - the command to check
      Returns:
      true to send, false to suppress.
    • processTimeout

      protected void processTimeout()
      Specified by:
      processTimeout in class BaseMessageProcessingState
    • processMessage

      protected boolean processMessage(MenuCommand cmd)
      Specified by:
      processMessage in class BaseMessageProcessingState