T - public abstract class AbstractPubSubSupport<T> extends Object implements PubSubSupport<T>
| Constructor and Description |
|---|
AbstractPubSubSupport(IBusConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorHandler(IPublicationErrorHandler handler) |
Collection<IPublicationErrorHandler> |
getRegisteredErrorHandlers() |
BusRuntime |
getRuntime() |
void |
handlePublicationError(PublicationError error) |
void |
subscribe(Object listener)
Subscribe all handlers of the given listener.
|
boolean |
unsubscribe(Object listener)
Immediately remove all registered message handlers (if any) of the given listener.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublishpublic AbstractPubSubSupport(IBusConfiguration configuration)
public Collection<IPublicationErrorHandler> getRegisteredErrorHandlers()
public boolean unsubscribe(Object listener)
PubSubSupportunsubscribe in interface PubSubSupport<T>public void subscribe(Object listener)
PubSubSupportsubscribe in interface PubSubSupport<T>public final void addErrorHandler(IPublicationErrorHandler handler)
public BusRuntime getRuntime()
getRuntime in interface RuntimeProviderpublic void handlePublicationError(PublicationError error)
Copyright © 2014. All rights reserved.