org.apache.taglibs.rdc.scxml
Interface EventDispatcher
- All Known Implementing Classes:
- SimpleDispatcher
public interface EventDispatcher
The event controller interface used to send messages containing
events or other information directly to another SCXML Interpreter,
other external systems using an Event I/O Processor or to raise
events in the current SCXML session.
- Author:
- Jaroslav Gergic, Rahul Akolkar
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)
|
cancel
void cancel(java.lang.String sendId)
- Cancel the specified send message
- Parameters:
sendId
- The ID of the send message to cancel
send
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)
- 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
Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.