| Modifier and Type | Field and Description |
|---|---|
static PeerID<Serializable> |
PeerID.NULL_PEER_ID |
| Modifier and Type | Method and Description |
|---|---|
PeerID |
SystemAdvertisementImpl.getID()
returns the id of the device
|
PeerID |
SystemAdvertisement.getID()
returns the id of the device
|
| Modifier and Type | Method and Description |
|---|---|
int |
PeerID.compareTo(PeerID other) |
boolean |
GroupCommunicationProviderImpl.sendMessage(PeerID id,
Serializable msg) |
void |
SystemAdvertisementImpl.setID(PeerID id)
sets the unique id
|
void |
SystemAdvertisement.setID(PeerID id)
sets the unique id
|
| Modifier and Type | Method and Description |
|---|---|
PeerID |
ClusterViewManager.getID(String name) |
PeerID |
ClusterManager.getID(String name)
Returns name encoded ID
|
PeerID |
ClusterManager.getPeerID() |
static PeerID |
LWRMulticast.getSource(Message msg)
returns the source peer id of a message
|
PeerID |
HealthMessage.getSrcID()
gets the src id
|
| Modifier and Type | Method and Description |
|---|---|
Set<PeerID> |
LWRMulticast.getAckList()
Returns a list of ack's received from nodes identified by PeerID's
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ClusterViewManager.containsKey(PeerID id) |
boolean |
ClusterView.containsKey(PeerID id) |
boolean |
ClusterViewManager.containsKey(PeerID id,
boolean debug) |
SystemAdvertisement |
ClusterViewManager.get(PeerID id)
Retrieves a system advertisement from a the table
|
SystemAdvertisement |
ClusterView.get(PeerID id)
Retrieves a system advertisement from a the table.
|
String |
HealthMonitor.getMemberState(PeerID peerID,
long threshold,
long timeout) |
String |
HealthMonitor.getMemberStateFromHeartBeat(PeerID peerID,
long threshold) |
String |
HealthMonitor.getMemberStateViaLWR(PeerID peerID,
long timeout) |
String |
ClusterManager.getNodeState(PeerID peerID,
long threshold,
long timeout) |
SystemAdvertisement |
ClusterManager.getSystemAdvertisementForMember(PeerID id) |
int |
ClusterViewManager.indexOf(PeerID id)
the index of id this view, or -1 if this view does not contain this element.
|
boolean |
ReliableMulticast.resend(PeerID to,
Long seqId) |
boolean |
LWRMulticast.send(PeerID pid,
Message msg)
Send a message.
|
boolean |
ClusterManager.send(PeerID peerid,
Serializable msg) |
boolean |
ClusterManager.send(PeerID peerid,
Serializable msg,
boolean validatePeeridInView)
Send a message to a specific node or the group.
|
void |
HealthMessage.setSrcID(PeerID id)
sets the unique id
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LWRMulticast.send(Set<PeerID> ids,
Message msg)
Send a message to a set of peers
|
| Modifier and Type | Field and Description |
|---|---|
protected PeerID |
AbstractNetworkManager.localPeerID
Represents local
PeerID. |
protected PeerID |
AbstractMulticastMessageSender.localPeerID
Represents local
PeerID. |
protected PeerID |
AbstractMultiMessageSender.localPeerID
Represents local
PeerID. |
protected PeerID |
AbstractMessageSender.localPeerID
Represents local
PeerID. |
| Modifier and Type | Method and Description |
|---|---|
PeerID |
NetworkManager.getLocalPeerID()
Returns local
PeerID |
PeerID |
AbstractNetworkManager.getLocalPeerID()
Returns local
PeerID |
PeerID |
NetworkManager.getPeerID(String instanceName)
Returns the proper
PeerID corresponding with a given instance name |
PeerID |
MessageEvent.getSourcePeerID()
Returns the source peer id from which this message is sent
|
PeerID |
MessageEvent.getTargetPeerID()
Returns the target peer id to which this message is sent
|
| Modifier and Type | Method and Description |
|---|---|
Set<PeerID> |
VirtualMulticastSender.getVirtualPeerIDSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
NetworkManager.addRemotePeer(PeerID peerID)
Add the
peerID to this network manager |
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 |
boolean |
NetworkManager.isConnected(PeerID peerID)
Check whether the suspicious peer is alive or not
This API is mainly used in
HealthMonitor in order to determine the failure member |
void |
NetworkManager.removePeerID(PeerID peerID)
Removes the
peerID from this network manager |
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 |
|---|
BlockingIOMulticastSender(String host,
String multicastAddress,
int multicastPort,
String networkInterfaceName,
int multicastPacketSize,
PeerID localPeerID,
Executor executor,
int multicastTimeToLive,
NetworkManager networkManager) |
MessageEvent(Object source,
Message message,
PeerID sourcePeerID,
PeerID targetPeerID)
Creates a new event
|
MessageEvent(Object source,
Message message,
PeerID sourcePeerID,
PeerID targetPeerID)
Creates a new event
|
| Constructor and Description |
|---|
VirtualMulticastSender(NetworkManager networkManager,
List<PeerID> initialPeerIds) |
| Modifier and Type | Field and Description |
|---|---|
ConcurrentHashMap<String,PeerID<GrizzlyPeerID>> |
GrizzlyNetworkManager.peerIDMap |
ConcurrentHashMap<PeerID,CountDownLatch> |
GrizzlyNetworkManager.pingMessageLockMap |
| Modifier and Type | Method and Description |
|---|---|
PeerID |
GrizzlyNetworkManager.getPeerID(String instanceName) |
protected PeerID<GrizzlyPeerID> |
GrizzlyNetworkManager.getPeerIDFromURI(String uri) |
| Modifier and Type | Method and Description |
|---|---|
protected List<PeerID> |
GrizzlyNetworkManager.getVirtualPeerIDList(String groupDiscoveryUriList) |
| Modifier and Type | Method and Description |
|---|---|
void |
GrizzlyNetworkManager.addRemotePeer(PeerID peerID) |
protected void |
GrizzlyNetworkManager.addToVMS(PeerID peerID) |
CountDownLatch |
GrizzlyNetworkManager.getPingMessageLock(PeerID peerID) |
boolean |
GrizzlyNetworkManager.isConnected(PeerID peerID) |
protected void |
GrizzlyNetworkManager.removeFromVMS(PeerID peerID) |
void |
GrizzlyNetworkManager.removePeerID(PeerID peerID) |
boolean |
GrizzlyNetworkManager.send(PeerID peerID,
Message message) |
| Modifier and Type | Method and Description |
|---|---|
void |
GrizzlyNetworkManager2.addRemotePeer(PeerID peerID,
org.glassfish.grizzly.Connection connection) |
protected boolean |
GrizzlyTCPMessageSender.doSend(PeerID peerID,
Message message) |
| Constructor and Description |
|---|
GrizzlyTCPMessageSender(org.glassfish.grizzly.nio.transport.TCPNIOTransport tcpNioTransport,
ConnectionCache connectionCache,
PeerID<GrizzlyPeerID> localPeerID,
long writeTimeoutMillis) |
| Modifier and Type | Method and Description |
|---|---|
PeerID |
JxtaNetworkManager.getPeerID(String instanceName)
Given a instance name, it returns a name encoded PeerID to for binding to specific instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JxtaNetworkManager.addRemotePeer(PeerID id) |
protected boolean |
JxtaPipeManagerWrapper.doSend(PeerID peerID,
Message message)
Sends the given
Message to the destination |
boolean |
JxtaNetworkManager.isConnected(PeerID peerID) |
void |
JxtaNetworkManager.removePeerID(PeerID peerID) |
boolean |
JxtaNetworkManager.send(PeerID peerID,
Message message) |
| Constructor and Description |
|---|
JxtaPipeManagerWrapper(JxtaNetworkManager networkManager,
PeerID<net.jxta.peer.PeerID> localPeerID) |
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.