public interface IOProcessor
Send to send events from FSM and to receive events from external systems (FSM
receives events and sends messages). | Modifier and Type | Method and Description |
|---|---|
URI |
getLocation(String sessionId) |
String |
getName()
The name is used to identify which IO processor should be used to manage the send action.
|
void |
sendEventToFSM(String sessionId,
Event event)
Sends a message from an external resource to a SCXML session
|
void |
sendMessageFromFSM(Message message)
Sends a message from SCXML session to the selected target.
|
void |
setEngine(StateMachineEngine engine)
Used by the engine to register this processor.
|
String getName()
URI getLocation(String sessionId)
sessionId - session idvoid sendMessageFromFSM(Message message)
message - message to sendvoid sendEventToFSM(String sessionId, Event event)
engine - void setEngine(StateMachineEngine engine)
engine - Copyright © 2015. All rights reserved.