public class SimpleDispatcher extends Object implements EventDispatcher, Serializable
EventDispatcher implementation that can schedule
<send> events for the "scxml"
attribute value (which is also the default). This implementation uses
types are processed. Subclasses may support
types by overriding the
cancel(...) methods and
delegating to their
super counterparts for the
|Constructor and Description|
|Modifier and Type||Method and Description|
Cancel the specified send message.
Get the log instance.
Get the current timers.
Send this message to the target.
Sets the log instance
protected org.apache.commons.logging.Log getLog()
protected void setLog(org.apache.commons.logging.Log log)
log- the new log instance
public void send(Map<String,SCXMLIOProcessor> ioProcessors, String id, String target, String type, String event, Object data, Object hints, long delay)
ioProcessors- the available SCXMLIOProcessors, the same map as the SCXML system variable _ioprocessors
id- The ID of the send message
target- An expression returning the target location of the event
type- The type of the Event I/O Processor that the event should be dispatched to
event- The type of event being generated.
data- The event payload
hints- The data containing information which may be used by the implementing platform to configure the event processor
delay- The event is dispatched after the delay interval elapses
EventDispatcher.send(java.util.Map, String, String, String, String, Object, Object, long)
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.