| Package | Description |
|---|---|
| com.h3c.dist.bus |
| Modifier and Type | Method and Description |
|---|---|
static BusMessage |
BusMessage.fromBytes(byte[] serialized,
long msgId,
long t)
Create BusMessage from serialized data
|
| Modifier and Type | Method and Description |
|---|---|
List<BusMessage> |
Bus.getMessages(Set<Integer> msgTypes)
Get the list of messages of the specified types that are currently
posted on the Bus.
|
List<BusMessage> |
Bus.getMessagesByOwner(List<BusListenerId> appNameInst,
Set<Integer> msgTypes)
Get the list of messages of the specified types posted by given owners
on the Bus.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Bus.changeMessageOwner(BusMessage msg,
BusListener listener)
Take ownership of an existing BusMessage.
|
long |
Bus.post(BusMessage msg)
Push a message to the Bus
|
long |
Bus.post(BusMessage msg,
BusListener listener)
Push a message to the Bus.
|
void |
BusListener.processBusMsg(BusMessage msg)
Process message posted to the Bus.
|
Copyright © 2014. All Rights Reserved.