public class ScxmlIOProcessor extends Object implements IOProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
_INTERNAL |
static String |
_PARENT |
static String |
NAME |
static Pattern |
SCXML_INVOKEID_PATTERN |
static String |
SCXML_INVOKEID_REGEXP |
static Pattern |
SCXML_SESSION_PATTERN |
static String |
SCXML_SESSION_REGEXP |
| Constructor and Description |
|---|
ScxmlIOProcessor(StateMachineEngine engine) |
public static final String NAME
public static final String _INTERNAL
public static final String _PARENT
public static final String SCXML_SESSION_REGEXP
public static final Pattern SCXML_SESSION_PATTERN
public static final String SCXML_INVOKEID_REGEXP
public static final Pattern SCXML_INVOKEID_PATTERN
public ScxmlIOProcessor(StateMachineEngine engine)
public static ScxmlIOProcessor getInstance(Context context)
public URI getLocation(String sessionId)
getLocation in interface IOProcessorpublic void sendMessageFromFSM(Message message)
sendMessageFromFSM in interface IOProcessorprotected void sendCommErrorEvent(Context originContext)
protected void createAndpushEventToFSMFromInvoke(Message message, Context context)
protected Event createEventFromChildren(Message message, EventType eventType, String originSessionId)
protected Event createEventFromMessage(Message message, EventType eventType, boolean isSend)
public void sendEventToFSM(String sessionId, Event event)
sendEventToFSM in interface IOProcessorprotected boolean isScxmlURI(String uriFragment)
protected boolean isInvokeURI(String uriFragment)
public String getName()
getName in interface IOProcessorpublic StateMachineEngine getEngine()
public void setEngine(StateMachineEngine engine)
setEngine in interface IOProcessorpublic static void main(String[] args)
Copyright © 2015. All rights reserved.