public class SubscriptionContext extends Object implements RuntimeProvider
| Constructor and Description |
|---|
SubscriptionContext(BusRuntime runtime,
MessageHandler handler,
Collection<IPublicationErrorHandler> errorHandlers) |
| Modifier and Type | Method and Description |
|---|---|
Collection<IPublicationErrorHandler> |
getErrorHandlers()
Get the error handlers registered with the enclosing bus.
|
MessageHandler |
getHandler()
Get the meta data that specifies the characteristics of the message handler
that is associated with this context
|
BusRuntime |
getRuntime() |
void |
handleError(PublicationError error) |
public SubscriptionContext(BusRuntime runtime, MessageHandler handler, Collection<IPublicationErrorHandler> errorHandlers)
public MessageHandler getHandler()
public Collection<IPublicationErrorHandler> getErrorHandlers()
public BusRuntime getRuntime()
getRuntime in interface RuntimeProviderpublic final void handleError(PublicationError error)
Copyright © 2018. All rights reserved.