public abstract class AbstractBlaubotStateMachineEvent
extends java.lang.Object
ConnectionStateMachine.
AbstractBlaubotStateMachineEvents are lead through the ConnectionStateMachines
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 ConnectionStateMachines event queuepublic void setConnectionStateMachineState(IBlaubotState currentState)
IBlaubotState the ConnectionStateMachine was in when the
AbstractBlaubotStateMachineEvent occured.currentState - the current state