public class ConsoleIOProcessor extends Object implements IOProcessor
| Constructor and Description |
|---|
ConsoleIOProcessor(StateMachineEngine engine) |
| Modifier and Type | Method and Description |
|---|---|
URI |
getLocation(String sessionId) |
String |
getName() |
void |
sendEventToFSM(String sessionId,
Event event) |
void |
sendMessageFromFSM(Message message) |
void |
setEngine(StateMachineEngine engine) |
public static String NAME
public ConsoleIOProcessor(StateMachineEngine engine)
public String getName()
getName in interface IOProcessorpublic URI getLocation(String sessionId)
getLocation in interface IOProcessorpublic void sendMessageFromFSM(Message message)
sendMessageFromFSM in interface IOProcessorpublic void setEngine(StateMachineEngine engine)
setEngine in interface IOProcessorpublic void sendEventToFSM(String sessionId, Event event)
sendEventToFSM in interface IOProcessorCopyright © 2015. All rights reserved.