| Package | Description |
|---|---|
| com.h3c.dist.bus |
| Modifier and Type | Method and Description |
|---|---|
void |
Bus.ackMessage(long msgId,
BusListener listener)
Acknowledge for message received.
|
boolean |
Bus.changeMessageOwner(BusMessage msg,
BusListener listener)
Take ownership of an existing BusMessage.
|
long |
Bus.post(BusMessage msg,
BusListener listener)
Push a message to the Bus.
|
void |
Bus.registerListener(Set<Integer> msgTypes,
BusListener listener)
Register listener for the message types on the Bus
Notifications will be sent to the listener for messages posted to the
Bus from then
|
void |
Bus.unregisterListener(BusListener listener)
Unregister listener for all message types on the Bus
No notifications will be sent to the listener for any messages posted to
the Bus from then on.
|
void |
Bus.unregisterListener(Set<Integer> msgTypes,
BusListener listener)
Unregister listener on the Bus for the specified message types.
|
Copyright © 2014. All Rights Reserved.