Class CiphersWaiting

java.lang.Object
org.metricshub.ipmi.core.sm.states.State
org.metricshub.ipmi.core.sm.states.CiphersWaiting

public class CiphersWaiting extends State
State at which getting Channel Cipher Suites is in progress. Transits back to Uninitialized on Timeout, further proceeds with getting Cipher Suites on GetChannelCipherSuitesPending and moves on to Ciphers on DefaultAck
  • Constructor Details

    • CiphersWaiting

      public CiphersWaiting(int index, int tag)
      Initializes state.
      Parameters:
      index - - Index of the channel cipher suite package to get
      tag - - Tag of the message
  • Method Details

    • doTransition

      public void doTransition(StateMachine stateMachine, StateMachineEvent machineEvent)
      Description copied from class: State
      Performs the state transition
      Specified by:
      doTransition in class State
      Parameters:
      stateMachine - - the context
      machineEvent - - the StateMachineEvent that was the cause of the transition
    • doAction

      public void doAction(StateMachine stateMachine, RmcpMessage message)
      Description copied from class: State
      Defines the action that should be performed when a response form the remote system arrives in the current state.
      Specified by:
      doAction in class State
      Parameters:
      stateMachine - - the context
      message - - the message that appeared