public interface BusListener
processBusMsg(BusMessage)| Modifier and Type | Method and Description |
|---|---|
BusListenerId |
getInstanceId()
Get listeners instance id
|
int |
getListenerPriority()
Get priority of listener
|
void |
processBusMsg(BusMessage msg)
Process message posted to the Bus.
|
void |
processBusMsgAck(long msgId,
List<BusListenerId> ackedList,
List<BusListenerId> nonAckedList,
boolean result)
Process ack posted to the Bus.
|
int getListenerPriority()
BusListenerId getInstanceId()
void processBusMsg(BusMessage msg)
msg - message to processvoid processBusMsgAck(long msgId,
List<BusListenerId> ackedList,
List<BusListenerId> nonAckedList,
boolean result)
msgId - message id for which ack was requestedackedList - list of listeners who acked for the messagenonAckedList - list of listeners who did not acked for the messageresult - overall ack result based on ack the policyCopyright © 2014. All Rights Reserved.