Package net.engio.mbassy.bus
Class SyncMessageBus.SyncPostCommand
- java.lang.Object
-
- net.engio.mbassy.bus.SyncMessageBus.SyncPostCommand
-
- All Implemented Interfaces:
IPublicationCommand
- Enclosing class:
- SyncMessageBus<T>
public class SyncMessageBus.SyncPostCommand extends java.lang.Object implements IPublicationCommand
-
-
Constructor Summary
Constructors Constructor Description SyncPostCommand(T message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMessagePublication
now()
Execute the message publication immediately.
-
-
-
Field Detail
-
message
private T message
-
-
Constructor Detail
-
SyncPostCommand
public SyncPostCommand(T message)
-
-
Method Detail
-
now
public IMessagePublication now()
Description copied from interface:IPublicationCommand
Execute the message publication immediately. This call blocks until every matching message handler has been invoked.- Specified by:
now
in interfaceIPublicationCommand
-
-