Class SessionValid
java.lang.Object
org.metricshub.ipmi.core.sm.states.State
org.metricshub.ipmi.core.sm.states.SessionValid
State
in which the session is valid and sending IPMI commands to the
remote machine is enabled.
- Sends an IPMI v2.0 message on
Sendv20Message
- Sends
GetChannelAuthenticationCapabilities
message to keep the session form timing out onSessionUpkeep
- Transits to
Authcap
onTimeout
- Sends
CloseSession
and transits toAuthcap
onCloseSession
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doAction
(StateMachine stateMachine, RmcpMessage message) Defines the action that should be performed when a response form the remote system arrives in the current state.void
doTransition
(StateMachine stateMachine, StateMachineEvent machineEvent) Performs the state transition
-
Constructor Details
-
SessionValid
Initiates the state.- Parameters:
cipherSuite
- -CipherSuite
used during the session.
-
-
Method Details
-
getCipherSuite
-
doTransition
Description copied from class:State
Performs the state transition- Specified by:
doTransition
in classState
- Parameters:
stateMachine
- - the contextmachineEvent
- - theStateMachineEvent
that was the cause of the transition
-
doAction
Description copied from class:State
Defines the action that should be performed when a response form the remote system arrives in the current state.
-