public interface MessageBuildSendableDispatcher extends MessageBuildSendable
Modifier and Type | Method and Description |
---|---|
AsyncTask |
sendDelayedWith(RequestDispatcher viaThis,
TimeUnit unit,
int interval)
Sends the message after a specified delay with the specified
RequestDispatcher.
|
void |
sendGlobalWith(RequestDispatcher viaThis)
Sends the message globally with the specified RequestDispatcher.
|
void |
sendNowWith(RequestDispatcher viaThis)
Sends the message with the specified RequestDispatcher.
|
AsyncTask |
sendRepeatingWith(RequestDispatcher viaThis,
TimeUnit unit,
int interval)
Sends the message periodically with the specified
RequestDispatcher.
|
sendGlobalWith, sendNowWith, sendNowWith
getMessage
void sendNowWith(RequestDispatcher viaThis)
viaThis
- the dispatcher to send the message with, usually obtained in
client code via Errai IOC dependency injection.void sendGlobalWith(RequestDispatcher viaThis)
viaThis
- the dispatcher to send the message with, usually obtained in
client code via Errai IOC dependency injection.AsyncTask sendRepeatingWith(RequestDispatcher viaThis, TimeUnit unit, int interval)
viaThis
- the dispatcher to send the message with, usually obtained in
client code via Errai IOC dependency injection.unit
- The time unit that interval
should be interpreted as.interval
- The amount of time to wait between message retransmissions (units
specified by the unit
parameter).AsyncTask sendDelayedWith(RequestDispatcher viaThis, TimeUnit unit, int interval)
viaThis
- the dispatcher to send the message with, usually obtained in
client code via Errai IOC dependency injection.unit
- The time unit that interval
should be interpreted as.interval
- The amount of time to wait before sending the message (units
specified by the unit
parameter).Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.