org.apache.taglibs.rdc.scxml.env
Class SimpleDispatcher
java.lang.Object
org.apache.taglibs.rdc.scxml.env.SimpleDispatcher
- All Implemented Interfaces:
- EventDispatcher
public class SimpleDispatcher
- extends java.lang.Object
- implements EventDispatcher
Trivial EventDispatcher implementation. No remote eventing.
- Author:
- Jaroslav Gergic
Method Summary |
void |
cancel(java.lang.String sendId)
Cancel the specified send message |
void |
send(java.lang.String sendId,
java.lang.String target,
java.lang.String targetType,
java.lang.String event,
java.util.Map params,
java.lang.Object hints,
long delay)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDispatcher
public SimpleDispatcher()
- Constructor
cancel
public void cancel(java.lang.String sendId)
- Description copied from interface:
EventDispatcher
- Cancel the specified send message
- Specified by:
cancel
in interface EventDispatcher
- Parameters:
sendId
- The ID of the send message to cancel- See Also:
EventDispatcher.cancel(java.lang.String)
send
public void send(java.lang.String sendId,
java.lang.String target,
java.lang.String targetType,
java.lang.String event,
java.util.Map params,
java.lang.Object hints,
long delay)
- Specified by:
send
in interface EventDispatcher
- Parameters:
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 elapses- See Also:
EventDispatcher.send(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Map, java.lang.Object, long)
Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.