|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CpStateMachineHandler interface represents a ConversationPolicyHandler for a conversation policy represented by a CpStateMachine.
Note that the "current role" and "current state" are stored here, rather than in the CpStateMachine. This permits multiple CpStateMachineHandlers to use the same CpStateMachine instance.
Method Summary | |
---|---|
CpState |
getCurrentState()
Returns the current state of the conversation policy being executed. |
CpStateMachine |
getStateMachine()
Returns the CpStateMachine for the conversation policy being executed. |
Methods inherited from interface com.ibm.conversation.ConversationPolicyHandler |
---|
childReturn, getCurrentStateName, getMessageTransformFactory, getOutputListener, getPolicyName, getSelfRole, isDecisionState, processDecision, processMessage, setMessageTransformFactory, setOutputListener, start, timerExpired |
Method Detail |
public CpStateMachine getStateMachine()
This returns the actual CpStateMachine in use, not a copy of it. Users should not make any changes to the CpStateMachine returned by this method.
public CpState getCurrentState()
This returns the actual current CpState, not a copy of it. Users should not make any changes to the CpState returned by this method.
ConversationPolicyHandler.getCurrentStateName()
|
ABLE 2.0.0 07/02/2003 10:25:01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |