public class SimpleScheduler 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 executor we're attached to.
Get the log instance.
Get the current timers.
Send this message to the target.
public void send(String sendId, String target, String type, String event, Map<String,Object> params, Object hints, long delay, List<Node> externalNodes)
sendId- 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.
params- A list of zero or more whitespace separated variable names to be included with the event.
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
externalNodes- The list of external nodes associated with the <send> element.
protected org.apache.commons.logging.Log getLog()
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.