public abstract class AbstractBlaubotStateMachineEvent
extends java.lang.Object
ConnectionStateMachine
.
AbstractBlaubotStateMachineEvent
s are lead through the ConnectionStateMachine
s
event queue where the setConnectionStateMachineState(IBlaubotState)
method will be
used to inject the current state.Constructor and Description |
---|
AbstractBlaubotStateMachineEvent() |
Modifier and Type | Method and Description |
---|---|
IBlaubotState |
getConnectionStateMachineState()
The
IBlaubotState the ConnectionStateMachine was in when the
AbstractBlaubotStateMachineEvent occured. |
void |
setConnectionStateMachineState(IBlaubotState currentState)
Set the
IBlaubotState the ConnectionStateMachine was in when the
AbstractBlaubotStateMachineEvent occured. |
public IBlaubotState getConnectionStateMachineState()
IBlaubotState
the ConnectionStateMachine
was in when the
AbstractBlaubotStateMachineEvent
occured.IBlaubotState
the ConnectionStateMachine
was in when the AbstractBlaubotStateMachineEvent
occured or null, if the event did not pass the ConnectionStateMachine
s event queuepublic void setConnectionStateMachineState(IBlaubotState currentState)
IBlaubotState
the ConnectionStateMachine
was in when the
AbstractBlaubotStateMachineEvent
occured.currentState
- the current state