A B C E G H P R S T V _

A

addEntryTransition(EntryStateTransition) - Method in class com.taserv.SMS.SMCompositeState
 
addEntryTransition(Object, EntryStateTransition) - Method in class com.taserv.SMS.SMCompositeState
 
addEntryTransition(EntryStateTransition) - Method in class com.taserv.SMS.SMState
 
addEntryTransition(EntryStateTransition) - Method in interface com.taserv.SMS.SMStateIF
Adds entry transition to be perfomed every time the state becomes current
addEntryTransition(Object, EntryStateTransition) - Method in class com.taserv.SMS.SimpleStateMachine
 
addEntryTransition(Object, EntryStateTransition) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Adds entry transition to the state.
addExitTransition(ExitStateTransition) - Method in class com.taserv.SMS.SMCompositeState
 
addExitTransition(Object, ExitStateTransition) - Method in class com.taserv.SMS.SMCompositeState
 
addExitTransition(ExitStateTransition) - Method in class com.taserv.SMS.SMState
 
addExitTransition(ExitStateTransition) - Method in interface com.taserv.SMS.SMStateIF
Adds exit transition to be perfomed every time other state replaces the state as current
addExitTransition(Object, ExitStateTransition) - Method in class com.taserv.SMS.SimpleStateMachine
 
addExitTransition(Object, ExitStateTransition) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Adds exit transition to the state.
addState(Enum) - Method in class com.taserv.SMS.SMCompositeState
 
addState(SMStateIF) - Method in class com.taserv.SMS.SMCompositeState
 
addState(Enum) - Method in class com.taserv.SMS.SimpleStateMachine
 
addState(SMStateIF) - Method in class com.taserv.SMS.SimpleStateMachine
 
addState(SMStateIF) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Adds new state to SM or replaces existing state.
addState(Enum) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Adds new state to SM or replaces existing state.
addTransition(SMStateIF, Class, StateTransition) - Method in class com.taserv.SMS.SMCompositeState
 
addTransition(SMStateIF, Class, StateTransition, Enum) - Method in class com.taserv.SMS.SMCompositeState
 
addTransition(Enum, Class, StateTransition, Enum) - Method in class com.taserv.SMS.SMCompositeState
 
addTransition(Enum, Class, StateTransition) - Method in class com.taserv.SMS.SMCompositeState
 
addTransition(Class, StateTransition) - Method in class com.taserv.SMS.SMCompositeState
 
addTransition(Class, StateTransition, Enum) - Method in class com.taserv.SMS.SMCompositeState
 
addTransition(Class, StateTransition) - Method in class com.taserv.SMS.SMState
 
addTransition(Class, StateTransition, Enum) - Method in class com.taserv.SMS.SMState
 
addTransition(Class, StateTransition) - Method in interface com.taserv.SMS.SMStateIF
Adds transition to the state.
addTransition(Class, StateTransition, Enum) - Method in interface com.taserv.SMS.SMStateIF
Adds transition to the state.
addTransition(SMStateIF, Class, StateTransition) - Method in class com.taserv.SMS.SimpleStateMachine
 
addTransition(SMStateIF, Class, StateTransition, Enum) - Method in class com.taserv.SMS.SimpleStateMachine
 
addTransition(Enum, Class, StateTransition) - Method in class com.taserv.SMS.SimpleStateMachine
 
addTransition(Enum, Class, StateTransition, Enum) - Method in class com.taserv.SMS.SimpleStateMachine
 
addTransition(SMStateIF, Class, StateTransition) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Adds new transition to the SM or replaces existing transition identified by the origState and the event class.
addTransition(SMStateIF, Class, StateTransition, Enum) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Adds new transition to the SM or replaces existing transition identified by the origState and the event class.
addTransition(Enum, Class, StateTransition) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Adds new transition to the SM or replaces existing transition identified by the origStateEnum and the event class.
addTransition(Enum, Class, StateTransition, Enum) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Adds new transition to the SM or replaces existing transition identified by the origStateEnum and the event class.

B

badObject - Variable in exception com.taserv.SMS.SMBadMatrix
The bad object

C

com.taserv.SMS - package com.taserv.SMS
Provides simple state machine framework(SMS).
copy(SMStateIF) - Method in class com.taserv.SMS.SMCompositeState
 
copy(SMStateIF) - Method in class com.taserv.SMS.SMState
 
copy(SMStateIF) - Method in interface com.taserv.SMS.SMStateIF
Copies state data such as transitions from the parameter state to the state

E

EntryStateTransition - Interface in com.taserv.SMS
Defines contract for entry transitions
ExitStateTransition - Interface in com.taserv.SMS
Defines contract for exit transitions
entryTransition(SMStateIF) - Method in interface com.taserv.SMS.EntryStateTransition
Called every time the state associated with this transition becomes current
entryTransition() - Method in class com.taserv.SMS.SMCompositeState
 
entryTransition() - Method in class com.taserv.SMS.SMState
 
entryTransition() - Method in interface com.taserv.SMS.SMStateIF
Deprecated. replaced by addEntryTransition
equals(Object) - Method in class com.taserv.SMS.SMCompositeState
 
equals(Object) - Method in class com.taserv.SMS.SMState
The states assumed to be equal if their state ID are equal
event - Variable in exception com.taserv.SMS.SMStateCanNotHandleEvent
 
exitTransition(SMStateIF) - Method in interface com.taserv.SMS.ExitStateTransition
Called every time other state replaces the state associated with this transition as current
exitTransition() - Method in class com.taserv.SMS.SMCompositeState
 
exitTransition() - Method in class com.taserv.SMS.SMState
 
exitTransition() - Method in interface com.taserv.SMS.SMStateIF
Deprecated. replaced by addExitTransition

G

getCurrentState() - Method in class com.taserv.SMS.SMCompositeState
 
getCurrentState() - Method in class com.taserv.SMS.SimpleStateMachine
 
getCurrentState() - Method in interface com.taserv.SMS.SimpleStateMachineIF
Returns current SM state
getDynaStates() - Method in class com.taserv.SMS.SMState.TransitionSegment
Returns collection of states that were returned by the transition object and were not equal to newState
getEntryTransitions() - Method in class com.taserv.SMS.SMCompositeState
 
getEntryTransitions() - Method in class com.taserv.SMS.SMState
 
getEntryTransitions() - Method in interface com.taserv.SMS.SMStateIF
Returns the collection of the defined entry transitions
getEventName() - Method in class com.taserv.SMS.SMEvent
 
getEventTransitions() - Method in class com.taserv.SMS.SMCompositeState
 
getEventTransitions() - Method in class com.taserv.SMS.SMState
 
getEventTransitions() - Method in interface com.taserv.SMS.SMStateIF
Returns collection of the transistions defined in the state
getExitTransitions() - Method in class com.taserv.SMS.SMCompositeState
 
getExitTransitions() - Method in class com.taserv.SMS.SMState
 
getExitTransitions() - Method in interface com.taserv.SMS.SMStateIF
Returns the collection of the defined exit transitions
getLastPerformedTrans() - Method in class com.taserv.SMS.SMCompositeState
 
getLastPerformedTrans() - Method in class com.taserv.SMS.SMState
 
getLastPerformedTrans() - Method in interface com.taserv.SMS.SMStateIF
Returns the last transition performed by the state
getNewState() - Method in class com.taserv.SMS.SMState.TransitionSegment
Returns new state to be returned if the transition object returns NULL
getSMMachineIF(Enum) - Method in class com.taserv.SMS.SMCompositeState
 
getSMMachineIF(Enum) - Method in class com.taserv.SMS.SimpleStateMachine
 
getSMMachineIF(Enum) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Returns SimpleStateMachineIF interface for the state identified by state Enum
getStateID() - Method in class com.taserv.SMS.SMCompositeState
 
getStateID() - Method in class com.taserv.SMS.SMState
 
getStateID() - Method in interface com.taserv.SMS.SMStateIF
Returns the Enum indetifying the state
getStateMachineName() - Method in class com.taserv.SMS.SMCompositeState
 
getStateMachineName() - Method in class com.taserv.SMS.SimpleStateMachine
 
getStateMachineName() - Method in interface com.taserv.SMS.SimpleStateMachineIF
Returns SM name
getStateName() - Method in class com.taserv.SMS.SMCompositeState
 
getStateName() - Method in class com.taserv.SMS.SMState
 
getStateName() - Method in interface com.taserv.SMS.SMStateIF
Returns state name
getStates() - Method in class com.taserv.SMS.SMCompositeState
 
getStates() - Method in class com.taserv.SMS.SimpleStateMachine
 
getStates() - Method in interface com.taserv.SMS.SimpleStateMachineIF
Returns states defined in the SM
getTransition() - Method in class com.taserv.SMS.SMState.TransitionSegment
Returns transition object

H

handleEvent(SMEvent) - Method in class com.taserv.SMS.SMCompositeState
Event passed to the internal SM, the state event handling will not be attempted even if event was not consumed by the internal SM.
handleEvent(SMEvent) - Method in class com.taserv.SMS.SimpleStateMachine
 
handleEvent(SMEvent) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Entry point for SM event handling.
hashCode() - Method in class com.taserv.SMS.SMCompositeState
 
hashCode() - Method in class com.taserv.SMS.SMState
Returns state ID hashCode

P

performEntryTransition(EntryStateTransition) - Method in class com.taserv.SMS.SMState
 
performExitTransition(ExitStateTransition) - Method in class com.taserv.SMS.SMState
 
performTransition(SMEvent, StateTransition) - Method in class com.taserv.SMS.SMState
 
postEvent(SimpleStateMachineIF, SMEvent) - Method in class com.taserv.SMS.SMScheduler
Posts event for scheduling.
printDebugInfo() - Method in class com.taserv.SMS.SimpleStateMachine
 

R

reason - Variable in exception com.taserv.SMS.SMBadMatrix
The bad matrix element indicator
removeEntryTransition(EntryStateTransition) - Method in class com.taserv.SMS.SMCompositeState
 
removeEntryTransition(Object, EntryStateTransition) - Method in class com.taserv.SMS.SMCompositeState
 
removeEntryTransition(EntryStateTransition) - Method in class com.taserv.SMS.SMState
 
removeEntryTransition(EntryStateTransition) - Method in interface com.taserv.SMS.SMStateIF
Removed entry transition
removeEntryTransition(Object, EntryStateTransition) - Method in class com.taserv.SMS.SimpleStateMachine
 
removeEntryTransition(Object, EntryStateTransition) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Removes entry transition.
run() - Method in class com.taserv.SMS.SMScheduler
Scheduling thread loop

S

SMBadMatrix - Exception in com.taserv.SMS
Thrown if state machine matrix format is incorrect
SMBadMatrix(SMBadMatrix.Reason, Object) - Constructor for exception com.taserv.SMS.SMBadMatrix
 
SMBadMatrix.Reason - Enum in com.taserv.SMS
Identifies the bad martix element
SMCompositeState - Class in com.taserv.SMS
Composite state implementation.
SMCompositeState(Enum) - Constructor for class com.taserv.SMS.SMCompositeState
 
SMCompositeState(SMState) - Constructor for class com.taserv.SMS.SMCompositeState
 
SMEvent - Class in com.taserv.SMS
Parent of all SM events
SMEvent(String) - Constructor for class com.taserv.SMS.SMEvent
 
SMEvent() - Constructor for class com.taserv.SMS.SMEvent
 
SMNotCompositeState - Exception in com.taserv.SMS
Thrown if a state is not composite, during an operation that expects composite state
SMNotCompositeState(Enum) - Constructor for exception com.taserv.SMS.SMNotCompositeState
 
SMScheduler - Class in com.taserv.SMS
Utility class that implements SM event queue and SM scheduling.
SMScheduler() - Constructor for class com.taserv.SMS.SMScheduler
The constructor starts itself, no need for additional start
SMState - Class in com.taserv.SMS
SM state implementation
SMState(Enum, String) - Constructor for class com.taserv.SMS.SMState
 
SMState(Enum) - Constructor for class com.taserv.SMS.SMState
 
SMState.TransitionSegment - Class in com.taserv.SMS
Transition data holder
SMStateCanNotCopy - Exception in com.taserv.SMS
Thrown if for any reason state data can not be copied to the target state
SMStateCanNotCopy(SMStateIF, SMStateIF) - Constructor for exception com.taserv.SMS.SMStateCanNotCopy
 
SMStateCanNotHandleEvent - Exception in com.taserv.SMS
Thrown if a state did not find a transition for scheduled event
SMStateCanNotHandleEvent(SMEvent, SMState) - Constructor for exception com.taserv.SMS.SMStateCanNotHandleEvent
 
SMStateIF - Interface in com.taserv.SMS
Defines contract for manipulating state behavior definitions and performing state transitions
SMStateNotFound - Exception in com.taserv.SMS
Thrown if a state or state ID was not found
SMStateNotFound(SMStateIF) - Constructor for exception com.taserv.SMS.SMStateNotFound
 
SMStateNotFound(Enum) - Constructor for exception com.taserv.SMS.SMStateNotFound
 
SimpleStateMachine - Class in com.taserv.SMS
State machine implementation
SimpleStateMachine() - Constructor for class com.taserv.SMS.SimpleStateMachine
 
SimpleStateMachine(String) - Constructor for class com.taserv.SMS.SimpleStateMachine
 
SimpleStateMachineIF - Interface in com.taserv.SMS
Defines contract for manipulating state machine(SM) behavior definitions and SM scheduling.
StateMachineObserverIF - Interface in com.taserv.SMS
Defines a contract for tracing state machines
StateTransition - Interface in com.taserv.SMS
Defines a contract for event transitions
setCurrentState(SMStateIF) - Method in class com.taserv.SMS.SMCompositeState
 
setCurrentState(Enum) - Method in class com.taserv.SMS.SMCompositeState
 
setCurrentState(SMStateIF) - Method in class com.taserv.SMS.SimpleStateMachine
 
setCurrentState(Enum) - Method in class com.taserv.SMS.SimpleStateMachine
 
setCurrentState(SMStateIF) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Sets current SM state to the state
setCurrentState(Enum) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Sets current SM state to the state identified by stateID
setSMMatrix(Object[][]) - Method in class com.taserv.SMS.SMCompositeState
 
setSMMatrix(Object, Object[][]) - Method in class com.taserv.SMS.SMCompositeState
 
setSMMatrix(Object[][]) - Method in class com.taserv.SMS.SimpleStateMachine
 
setSMMatrix(Object, Object[][]) - Method in class com.taserv.SMS.SimpleStateMachine
 
setSMMatrix(Object[][]) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Adds states and transitions identified by smMatrix to the SM.
setSMMatrix(Object, Object[][]) - Method in interface com.taserv.SMS.SimpleStateMachineIF
Adds states and transitions identified by smMatrix to the state identified by stateObj.
setSMName(String) - Method in class com.taserv.SMS.SimpleStateMachine
 
setStateMachineObserver(StateMachineObserverIF) - Static method in class com.taserv.SMS.SimpleStateMachine
Sets state machine observer for tracing purposes.
smCompositeState(SMStateIF, SimpleStateMachine, SimpleStateMachine) - Method in interface com.taserv.SMS.StateMachineObserverIF
Called every time a composite state added or a state becomes composite.
smHandledEvent(SimpleStateMachine, SMStateIF, Class, StateTransition, SMStateIF) - Method in interface com.taserv.SMS.StateMachineObserverIF
Called every time a transition performed.
smStateChanged(SimpleStateMachine, SMStateIF) - Method in interface com.taserv.SMS.StateMachineObserverIF
Called every time a state added or changed
smStateEntry(SimpleStateMachine, SMStateIF) - Method in interface com.taserv.SMS.StateMachineObserverIF
Called every time a state becomes current
smStateEntryTransAdded(SimpleStateMachine, SMStateIF, EntryStateTransition) - Method in interface com.taserv.SMS.StateMachineObserverIF
Called every time an entry transition added
smStateEntryTransRemoved(SimpleStateMachine, SMStateIF, EntryStateTransition) - Method in interface com.taserv.SMS.StateMachineObserverIF
Called every time an entry transition removed
smStateExit(SimpleStateMachine, SMStateIF) - Method in interface com.taserv.SMS.StateMachineObserverIF
Called every time a current state changes to other state
smStateExitTransAdded(SimpleStateMachine, SMStateIF, ExitStateTransition) - Method in interface com.taserv.SMS.StateMachineObserverIF
Called every time an exit transition added
smTransitionAdded(SimpleStateMachine, SMStateIF, Class, StateTransition, SMStateIF) - Method in interface com.taserv.SMS.StateMachineObserverIF
Called every time a transition added.
sourceState - Variable in exception com.taserv.SMS.SMStateCanNotCopy
 
state - Variable in exception com.taserv.SMS.SMStateCanNotHandleEvent
 
state - Variable in exception com.taserv.SMS.SMStateNotFound
 
stateHandleEvent(SMEvent) - Method in class com.taserv.SMS.SMCompositeState
Event passed to the internal SM, if not consumed by the internal SM, the state handling will be attempted.
stateHandleEvent(SMEvent) - Method in class com.taserv.SMS.SMState
 
stateHandleEvent(SMEvent) - Method in interface com.taserv.SMS.SMStateIF
Performs transition identified by the event class.
stateID - Variable in exception com.taserv.SMS.SMNotCompositeState
 
stateID - Variable in exception com.taserv.SMS.SMStateNotFound
 
stateMachineObserver - Static variable in class com.taserv.SMS.SimpleStateMachine
The mechanism for tracing state machines and thier behavior.
stopScheduler() - Method in class com.taserv.SMS.SMScheduler
Terminates the scheduler

T

targetState - Variable in exception com.taserv.SMS.SMStateCanNotCopy
 
toString() - Method in exception com.taserv.SMS.SMBadMatrix
 
toString() - Method in class com.taserv.SMS.SMState
 
toString() - Method in exception com.taserv.SMS.SMStateCanNotCopy
 
toString() - Method in exception com.taserv.SMS.SMStateCanNotHandleEvent
 
transition(SMEvent, SMStateIF) - Method in interface com.taserv.SMS.StateTransition
Called when the transition should be performed.

V

valueOf(String) - Static method in enum com.taserv.SMS.SMBadMatrix.Reason
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.taserv.SMS.SMBadMatrix.Reason
Returns an array containing the constants of this enum type, in the order they're declared.

_

_entryTransition() - Method in class com.taserv.SMS.SMCompositeState
 
_entryTransition() - Method in class com.taserv.SMS.SMState
 
_entryTransition() - Method in interface com.taserv.SMS.SMStateIF
Performs the state entry transisions, it should not be used or overloaded by user SM.
_exitTransition() - Method in class com.taserv.SMS.SMCompositeState
 
_exitTransition() - Method in class com.taserv.SMS.SMState
 
_exitTransition() - Method in interface com.taserv.SMS.SMStateIF
Performs the state exit transisions, it should not be used or overloaded by user SM.

A B C E G H P R S T V _

Copyright © 2004 TAServ. All Rights Reserved.