public interface InvokeHandler extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
endSession(String invokeId)
When the event done.invoke.id (where id is the invoke id) or when the state which this invoke is placed exits,
then the session for this invoke should be finished an cleared (no more events should be managed).
|
String |
getType() |
void |
invokeService(InvokeInfo input,
Context context)
This method is called when a state with an invoke is reached (onentry).
|
void |
sendMessageToService(Message message)
If the invoke has the attribute auto forward, then the FSM will send the external events to the invoke.
|
String getType()
void invokeService(InvokeInfo input, Context context)
input - invoke info like sessión id, source or content input data and additional arguments.context - fsm current configurationvoid sendMessageToService(Message message)
invokeId - event - void endSession(String invokeId)
invokeId - the invoke session id that has to be finishedCopyright © 2015. All rights reserved.