Class State
java.lang.Object
org.metricshub.ipmi.core.sm.states.State
- Direct Known Subclasses:
Authcap
,AuthcapWaiting
,Ciphers
,CiphersWaiting
,OpenSessionComplete
,OpenSessionWaiting
,Rakp1Complete
,Rakp1Waiting
,Rakp3Complete
,Rakp3Waiting
,SessionValid
,Uninitialized
The abstract for state of the
StateMachine
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
doAction
(StateMachine stateMachine, RmcpMessage message) Defines the action that should be performed when a response form the remote system arrives in the current state.abstract void
doTransition
(StateMachine stateMachine, StateMachineEvent machineEvent) Performs the state transitionvoid
onEnter
(StateMachine stateMachine) Defines the action performed when the state is entered.
-
Constructor Details
-
State
public State()
-
-
Method Details
-
onEnter
Defines the action performed when the state is entered.- Parameters:
stateMachine
- - the context
-
doTransition
Performs the state transition- Parameters:
stateMachine
- - the contextmachineEvent
- - theStateMachineEvent
that was the cause of the transition
-
doAction
Defines the action that should be performed when a response form the remote system arrives in the current state.- Parameters:
stateMachine
- - the contextmessage
- - the message that appeared
-