|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.openai.util.fsm.State | +--net.openai.ai.hybrid.fsmagent.AgentState | +--net.openai.ai.hybrid.fsmagent.InputForwardingState
An AgentState that will forward its input from the enter() method to the output of its exit() method.
Constructor Summary | |
InputForwardingState()
|
Method Summary | |
void |
enter(java.lang.Object input)
Called by the FSMAgent's Finite State Machine when the InputFowardingState is entered. |
java.lang.Object |
exit()
Called by the FSMAgent's Finite State Machine when the InputForwardingState is finished. |
protected java.lang.Object |
getInputData()
Returns the internal input data that was input into the enter state. |
Methods inherited from class net.openai.ai.hybrid.fsmagent.AgentState |
displayMessage, executeState, getAgent |
Methods inherited from class net.openai.util.fsm.State |
addStateListener, addTransition, addTransition, getEndStateFlag, getName, getStartStateFlag, getTransitions, removeStateListener, removeTransition, setEndStateFlag, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InputForwardingState()
Method Detail |
public void enter(java.lang.Object input)
enter
in class State
input
- Any output from the previous state. This same object will
be returned by the exit() method.public java.lang.Object exit()
exit
in class State
protected java.lang.Object getInputData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |