public class EnvelopedMessageDispatcher extends Object implements IMessageDispatcher
| Constructor and Description |
|---|
EnvelopedMessageDispatcher(IMessageDispatcher dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(Object message,
ConcurrentSet listeners)
Delivers the given message to the given set of listeners.
|
MessagingContext |
getContext()
Get the messaging context associated with this dispatcher
|
IHandlerInvocation |
getInvocation()
Get the handler invocation that will be used to deliver the message to each
listener
|
public EnvelopedMessageDispatcher(IMessageDispatcher dispatcher)
public void dispatch(Object message, ConcurrentSet listeners)
IMessageDispatcherdispatch in interface IMessageDispatchermessage - The message that should be delivered to the listenerslisteners - The listeners that should receive the messagepublic MessagingContext getContext()
IMessageDispatchergetContext in interface IMessageDispatcherpublic IHandlerInvocation getInvocation()
IMessageDispatchergetInvocation in interface IMessageDispatcherCopyright © 2013. All Rights Reserved.