public class MessageDispatcher extends AbstractSubscriptionContextAware implements IMessageDispatcher
| Constructor and Description | 
|---|
| MessageDispatcher(SubscriptionContext context,
                 IHandlerInvocation invocation) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | dispatch(MessagePublication publication,
        Object message,
        Iterable listeners)Delivers the given message to the given set of listeners. | 
| IHandlerInvocation | getInvocation()Get the handler invocation that will be used to deliver the
 message to each listener. | 
getContextequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextpublic MessageDispatcher(SubscriptionContext context, IHandlerInvocation invocation)
public void dispatch(MessagePublication publication, Object message, Iterable listeners)
IMessageDispatcherdispatch in interface IMessageDispatcherpublication - The message publication that initiated the dispatchmessage - The message that should be delivered to the listenerslisteners - The listeners that should receive the messagepublic IHandlerInvocation getInvocation()
IMessageDispatchergetInvocation in interface IMessageDispatcherCopyright © 2018. All rights reserved.