Serialized Form


Package net.openai.util.fsm

Class net.openai.util.fsm.AnyCondition implements Serializable

Class net.openai.util.fsm.BooleanCondition implements Serializable

Serialized Fields

targetValue

boolean targetValue
Our target boolean value.

Class net.openai.util.fsm.ComparableCondition implements Serializable

Serialized Fields

type

int type
The type of ComparableCondition this instance is.

comparable

java.lang.Comparable comparable
The Comparable object that this instance will be comparing to.

Class net.openai.util.fsm.Condition implements Serializable

Serialized Fields

targetState

State targetState
A handle to our target State.

sourceStates

java.util.Vector sourceStates
A handle to our source States.

Class net.openai.util.fsm.EqualsCondition implements Serializable

Serialized Fields

target

java.lang.Object target
The object that we are going to check against.

Class net.openai.util.fsm.Machine implements Serializable

Serialized Fields

startState

State startState
A handle to the start state. This will be the first state added to the machine.

currentState

State currentState
A handle to the current state of the machine.

syncObject

java.lang.Integer syncObject
A dummy object to synchronize on across methods.

listeners

java.util.Vector listeners
A list of listeners for this Machine.

Class net.openai.util.fsm.State implements Serializable

Serialized Fields

conditions

java.util.Vector conditions
A Vector of Conditions to check.

name

java.lang.String name
The name of this state.

startState

boolean startState
A flag to indicate that we are a start state. This can only be set by the Machine itself. If you wish to set a State as a start state you must call setStartState() on the machine itself.

endState

boolean endState
A flag to indicate that this is an end state. Unlike the start state flag, a state's end state flag can freely be changed on the state itself.

listeners

java.util.Vector listeners
A list of listeners for this state.

Class net.openai.util.fsm.UnhandledConditionException implements Serializable

Serialized Fields

sourceState

State sourceState
A handle to the State that failed to have a matching Condition.

sourceCondition

java.lang.Object sourceCondition
A handle to the object that failed to match any of the Conditions.


Package net.openai.util.fsm.event

Class net.openai.util.fsm.event.MachineEvent implements Serializable

Serialized Fields

type

int type
The type of event that this MachineEvent is.

Class net.openai.util.fsm.event.StateEvent implements Serializable

Serialized Fields

type

int type
The type of event that this StateEvent is.