public class SessionValid extends State
State
in which the session is valid and sending IPMI commands to the
remote machine is enabled. Sendv20Message
GetChannelAuthenticationCapabilities
message to keep the session form timing out on SessionUpkeep
Authcap
on Timeout
CloseSession
and transits to Authcap
on
CloseSession
Constructor and Description |
---|
SessionValid(CipherSuite cipherSuite,
int sessionId)
Initiates the state.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
doTransition(StateMachine stateMachine,
StateMachineEvent machineEvent)
Performs the state transition
|
CipherSuite |
getCipherSuite() |
public SessionValid(CipherSuite cipherSuite, int sessionId)
cipherSuite
- - CipherSuite
used during the session.public CipherSuite getCipherSuite()
public void doTransition(StateMachine stateMachine, StateMachineEvent machineEvent)
State
doTransition
in class State
stateMachine
- - the contextmachineEvent
- - the StateMachineEvent
that was the cause of the
transitionpublic void doAction(StateMachine stateMachine, RmcpMessage message)
State