|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.scxml.env.SimpleDispatcher
public final class SimpleDispatcher
Trivial EventDispatcher implementation. No remote eventing.
Constructor Summary | |
---|---|
SimpleDispatcher()
Constructor. |
Method Summary | |
---|---|
void |
cancel(String sendId)
Cancel the specified send message. |
void |
send(String sendId,
String target,
String targetType,
String event,
Map params,
Object hints,
long delay,
List externalNodes)
Send this message to the target. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleDispatcher()
Method Detail |
---|
public void cancel(String sendId)
EventDispatcher
cancel
in interface EventDispatcher
sendId
- The ID of the send message to cancelEventDispatcher.cancel(String)
public void send(String sendId, String target, String targetType, String event, Map params, Object hints, long delay, List externalNodes)
EventDispatcher
send
in interface EventDispatcher
sendId
- The ID of the send messagetarget
- An expression returning the target location of the eventtargetType
- The type of the Event I/O Processor that the event
should be dispatched toevent
- 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 processordelay
- The event is dispatched after the delay interval elapsesexternalNodes
- The list of external nodes associated with
the <send> element.EventDispatcher.send(String,String,String,String,Map,Object,long,List)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |