Class SessionValid

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

public class SessionValid extends State
State in which the session is valid and sending IPMI commands to the remote machine is enabled.
  • Constructor Details

    • SessionValid

      public SessionValid(CipherSuite cipherSuite, int sessionId)
      Initiates the state.
      Parameters:
      cipherSuite - - CipherSuite used during the session.
  • Method Details

    • getCipherSuite

      public CipherSuite getCipherSuite()
    • 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