Package | Description |
---|---|
net.sourceforge.anotherfsm |
AnotherFSM is yet another implementation of state machines,
a library for Java programming language.
|
net.sourceforge.anotherfsm.examples.first |
Introduction to the main features of AnotherFSM library.
|
net.sourceforge.anotherfsm.examples.qfsm |
This example re-implements the functionality of First example with
significant help of code generated from Qfsm diagram.
|
net.sourceforge.anotherfsm.examples.timeouts |
The example defines a simple state machine with connected and
disconnected states.
|
net.sourceforge.anotherfsm.qfsm |
Parser of Qfsm file format, Java
code generator.
|
Modifier and Type | Method and Description |
---|---|
<T extends Event> |
TypePreprocessor.addProcessor(java.lang.Class<T> clazz,
Preprocessor.Processor<T> processor)
Add a new processor.
|
<T extends Event> |
EqualsPreprocessor.addProcessor(T event,
Preprocessor.Processor<T> processor)
Add a new processor.
|
void |
DeterministicStateMachine.addState(State state) |
void |
StateMachine.addState(State state)
Add a new state.
|
void |
TransitionMap.addTransition(Transition transition)
Add a new transition.
|
void |
DeterministicStateMachine.addTransition(Transition transition) |
void |
StateMachine.addTransition(Transition transition)
Add a new transition.
|
(package private) void |
TimeoutStateMachine.notifyEnter(State previous,
Event event,
State current) |
(package private) void |
DeterministicStateMachine.notifyEnter(State previous,
Event event,
State current)
Process all state enter callbacks.
|
(package private) void |
DeterministicStateMachine.notifyExit(State current,
Event event,
State next)
Process all state exit callbacks.
|
(package private) void |
DeterministicStateMachine.notifyTransition(Transition transition,
State source,
Event event,
State destination)
Process all transition callbacks.
|
private Event |
DeterministicStateMachine.preprocessEvent(Event event)
Preprocess event using all registered preprocessors (recursive).
|
Event |
ThreadProcessor.process(Event event) |
Event |
PreprocessorAdapter.process(Event event) |
Event |
Preprocessor.process(Event event)
Process or preprocess the event.
|
Event |
SynchronizedStateMachine.process(Event event) |
Event |
DeterministicStateMachine.process(Event event) |
Event |
ProcesorGroup.process(Event event) |
Event |
Processor.process(Event event)
Process the event.
|
private void |
DeterministicStateMachine.processCheck(Event event)
Check the input event and the internal state before processing the event.
|
private Event |
DeterministicStateMachine.processInternal(Transition transition,
Event eventToProcess,
Event matchedEvent)
Real processing of the event.
|
void |
DeterministicStateMachine.setStartState(State state) |
void |
StateMachine.setStartState(State state)
Set the start state.
|
void |
ThreadProcessor.start() |
void |
TimeoutStateMachine.start() |
void |
ProcessorAdapter.start() |
void |
DeterministicStateMachine.start() |
void |
StateMachine.start()
Listeners of start state will be notified with non-loop transition from
temporary generated initial state and
StartEvent object. |
void |
ProcesorGroup.start() |
void |
Processor.start()
Building of the processor is finished, prepare it to the events
processing.
|
Constructor and Description |
---|
SearchFsm(java.lang.String name)
Create the object, build the state machine.
|
SearchFsmProcessor(java.lang.String name)
Create the object.
|
Constructor and Description |
---|
SearchStringFsm(java.lang.String name)
Create the object, build the state machine.
|
SearchStringProcessor(java.lang.String name)
Create the object, define and connect listeners.
|
Constructor and Description |
---|
TimeoutConnectionFsm(java.lang.String name)
Create the object, build the state machine.
|
TimeoutConnectionProcessor(java.lang.String name)
Create the object, define and connect listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
QfsmException
Qfsm related exception.
|
Copyright 2013 Michal Turek, AnotherFSM.