| Modifier and Type | Method and Description |
|---|---|
boolean |
ReliableMulticast.broadcast(Message msg) |
static long |
LWRMulticast.getSequenceID(Message msg)
returns the source peer id of a message
|
static PeerID |
LWRMulticast.getSource(Message msg)
returns the source peer id of a message
|
void |
LWRMulticast.send(Message msg,
int threshold)
Send a message to the predefined set of nodes, and expect a minimum of specified acks.
|
boolean |
LWRMulticast.send(PeerID pid,
Message msg)
Send a message.
|
boolean |
LWRMulticast.send(Set<PeerID> ids,
Message msg)
Send a message to a set of peers
|
| Modifier and Type | Class and Description |
|---|---|
class |
MessageImpl
This is a default
Message's implementation
The byte array or ByteBuffer which represent this message's low level data will be cached if this message is not modified
Here are this message's structure
----
[packet]
magic(4) + version(4) + type(4) + messages_length(4) + messages(message_length)
[messages]
message_count(4) + message_key1 + message_value1 + message_key2 + message_value2 + ...(message_count)
---- |
| Modifier and Type | Method and Description |
|---|---|
Message |
MessageEvent.getMessage()
Returns the message associated with the event
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
MulticastMessageSender.broadcast(Message message)
Broadcasts or Multicasts the given
Message to all members |
boolean |
AbstractMultiMessageSender.broadcast(Message message)
Broadcasts or Multicasts the given
Message to all members |
boolean |
AbstractMulticastMessageSender.broadcast(Message message)
Broadcasts or Multicasts the given
Message to all members |
protected abstract boolean |
AbstractMultiMessageSender.doBroadcast(Message message)
Broadcasts or Multicasts the given
Message to all members |
protected abstract boolean |
AbstractMulticastMessageSender.doBroadcast(Message message)
Broadcasts or Multicasts the given
Message to all members |
protected boolean |
VirtualMulticastSender.doBroadcast(Message message)
Broadcasts or Multicasts the given
Message to all members |
protected boolean |
BlockingIOMulticastSender.doBroadcast(Message message)
Broadcasts or Multicasts the given
Message to all members |
protected abstract boolean |
AbstractMultiMessageSender.doSend(PeerID peerID,
Message message)
Sends the given
Message to the destination |
protected abstract boolean |
AbstractMessageSender.doSend(PeerID peerID,
Message message)
Sends the given
Message to the destination |
void |
NetworkManager.receiveMessage(Message message,
Map piggyback)
Processes a received
Message
In this process, inbound Message will be wrapped into MessageEvent
and be delivered to registered MessageListener with corresponding to the message type |
void |
AbstractNetworkManager.receiveMessage(Message message,
Map piggyback)
Processes a received
Message
In this process, inbound Message will be wrapped into MessageEvent
and be delivered to registered MessageListener with corresponding to the message type |
boolean |
MessageSender.send(PeerID peerID,
Message message)
Sends the given
Message to the destination |
boolean |
AbstractMultiMessageSender.send(PeerID peerID,
Message message)
Sends the given
Message to the destination |
boolean |
AbstractMessageSender.send(PeerID peerID,
Message message)
Sends the given
Message to the destination |
| Constructor and Description |
|---|
MessageEvent(Object source,
Message message,
PeerID sourcePeerID,
PeerID targetPeerID)
Creates a new event
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GrizzlyNetworkManager.broadcast(Message message) |
boolean |
GrizzlyNetworkManager.send(PeerID peerID,
Message message) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
GrizzlyTCPMessageSender.doSend(PeerID peerID,
Message message) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
JxtaNetworkManager.broadcast(Message message) |
protected boolean |
JxtaPipeManagerWrapper.doBroadcast(Message message)
Broadcasts or Multicasts the given
Message to all members |
protected boolean |
JxtaPipeManagerWrapper.doSend(PeerID peerID,
Message message)
Sends the given
Message to the destination |
boolean |
JxtaNetworkManager.send(PeerID peerID,
Message message) |
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.