public class SyncAsyncPostCommand<T> extends Object implements IMessageBus.IPostCommand
| Constructor and Description |
|---|
SyncAsyncPostCommand(MBassador<T> mBassador,
T message) |
| Modifier and Type | Method and Description |
|---|---|
MessagePublication |
asynchronously()
Execute the message publication asynchronously.
|
MessagePublication |
asynchronously(long timeout,
TimeUnit unit)
Execute the message publication asynchronously.
|
void |
now()
Execute the message publication immediately.
|
public void now()
IMessageBus.IPostCommandnow in interface IMessageBus.IPostCommandpublic MessagePublication asynchronously()
IMessageBus.IPostCommandasynchronously in interface IMessageBus.IPostCommandpublic MessagePublication asynchronously(long timeout, TimeUnit unit)
IMessageBus.IPostCommandasynchronously in interface IMessageBus.IPostCommandCopyright © 2013. All Rights Reserved.