class TimeoutConnectionFsm extends TimeoutStateMachine
This file was generated using AnotherFSM CodeGenerator:
java -classpath anotherfsm-0.2.0-dev.jar net.sourceforge.anotherfsm.qfsm.CodeGenerator --force --config-file TimeoutConnection.xml --qfsm-file TimeoutConnection.fsm
Modifier and Type | Field and Description |
---|---|
State |
connected
The client is connected.
|
Transition |
connected_ConnectionStateEvent_instanceCONNECT_connected
Transition from
connected to connected on ConnectionStateEvent.instanceCONNECT event. |
Transition |
connected_ConnectionStateEvent_instanceDISCONNECT_disconnected
Transition from
connected to disconnected on ConnectionStateEvent.instanceDISCONNECT event. |
Transition |
connected_TimeoutEvent_instance10000TimeoutEvent_Type_LOOP_NO_RESTART_disconnected
Transition from
connected to disconnected on TimeoutEvent.instance(10000,TimeoutEvent.Type.LOOP_NO_RESTART) event. |
State |
disconnected
The client is disconnected.
|
Transition |
disconnected_ConnectionStateEvent_instanceCONNECT_connected
Transition from
disconnected to connected on ConnectionStateEvent.instanceCONNECT event. |
Transition |
disconnected_ConnectionStateEvent_instanceDISCONNECT_disconnected
Transition from
disconnected to disconnected on ConnectionStateEvent.instanceDISCONNECT event. |
Transition |
disconnected_TimeoutEvent_instance10000TimeoutEvent_Type_LOOP_RESTART_disconnected
Transition from
disconnected to disconnected on TimeoutEvent.instance(10000,TimeoutEvent.Type.LOOP_RESTART) event. |
logger
INITIAL_STATE_NAME
Constructor and Description |
---|
TimeoutConnectionFsm(java.lang.String name)
Create the object, build the state machine.
|
close, start
getActiveState, getActiveStates, isInFinalState, process
addListener, addListener, addPreprocessor, addState, addTransition, easterEgg, getStates, getTransition, getTransitions, setStartState, toString
getName
public final State connected
public final State disconnected
public final Transition connected_ConnectionStateEvent_instanceCONNECT_connected
connected
to connected
on ConnectionStateEvent.instanceCONNECT
event.public final Transition connected_ConnectionStateEvent_instanceDISCONNECT_disconnected
connected
to disconnected
on ConnectionStateEvent.instanceDISCONNECT
event.public final Transition connected_TimeoutEvent_instance10000TimeoutEvent_Type_LOOP_NO_RESTART_disconnected
connected
to disconnected
on TimeoutEvent.instance(10000,TimeoutEvent.Type.LOOP_NO_RESTART)
event.public final Transition disconnected_ConnectionStateEvent_instanceCONNECT_connected
disconnected
to connected
on ConnectionStateEvent.instanceCONNECT
event.public final Transition disconnected_ConnectionStateEvent_instanceDISCONNECT_disconnected
disconnected
to disconnected
on ConnectionStateEvent.instanceDISCONNECT
event.public final Transition disconnected_TimeoutEvent_instance10000TimeoutEvent_Type_LOOP_RESTART_disconnected
disconnected
to disconnected
on TimeoutEvent.instance(10000,TimeoutEvent.Type.LOOP_RESTART)
event.public TimeoutConnectionFsm(java.lang.String name) throws FsmException
name
- the name of the state machineFsmException
- if building of state machine failsCopyright 2013 Michal Turek, AnotherFSM.