public abstract class DispatchReplyTask<M extends MessageEvent> extends DispatchEventTask<M,M>
AUTOSTART, IGNORENULL, RUNONCE| Constructor and Description |
|---|
DispatchReplyTask(int inFlags,
MessageEvent inSentMsg,
java.lang.Class<M> inType) |
| Modifier and Type | Method and Description |
|---|---|
void |
handle(M inEvent,
java.lang.Exception ex)
Called when a matching event is dispatched.
|
java.util.UUID |
handleUUID() |
cancel, handleOrder, handleType, onCancelHandler, startTaskEvent, startTaskEvent, startTaskEventchainTask, getResult, getResult, getResultNow, isCancelled, run, startTaskpublic DispatchReplyTask(int inFlags,
MessageEvent inSentMsg,
java.lang.Class<M> inType)
public void handle(M inEvent, java.lang.Exception ex)
EventDispatchHandlerhandle in interface EventDispatchHandler<M extends MessageEvent>handle in interface EventHandler<M extends MessageEvent>handle in class DispatchEventTask<M extends MessageEvent,M extends MessageEvent>inEvent - - The dispatched event.ex - - An exception to pass to the handlerpublic java.util.UUID handleUUID()