public class SyncMessageBus<T> extends AbstractPubSubSupport<T> implements ISyncMessageBus<T,SyncMessageBus.SyncPostCommand>
| Modifier and Type | Class and Description |
|---|---|
class |
SyncMessageBus.SyncPostCommand |
| Constructor and Description |
|---|
SyncMessageBus(IBusConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
SyncMessageBus.SyncPostCommand |
post(T message)
Publish a message to the bus using on of its supported message publication mechanisms.
|
void |
publish(T message)
Synchronously publish a message to all registered listeners.
|
addErrorHandler, getRegisteredErrorHandlers, getRuntime, handlePublicationError, subscribe, unsubscribeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsubscribe, unsubscribegetRuntimeaddErrorHandler, getRegisteredErrorHandlerspublic SyncMessageBus(IBusConfiguration configuration)
public void publish(T message)
PubSubSupportpublish in interface PubSubSupport<T>public SyncMessageBus.SyncPostCommand post(T message)
GenericMessagePublicationSupportpost in interface GenericMessagePublicationSupport<T,SyncMessageBus.SyncPostCommand>Copyright © 2014. All rights reserved.