Package | Description |
---|---|
ethernet |
Modifier and Type | Field and Description |
---|---|
private IPPort |
Destination.ipport |
private IPPort |
PeersSet.localNode |
private IPPort |
MultiPeer.localServiceIPPort |
private IPPort |
DiscoveringService.muticastIPPort |
protected IPPort |
Message.sourceIPPort |
Modifier and Type | Method and Description |
---|---|
IPPort |
Destination.getIPPort() |
IPPort |
MultiPeer.getLocalIPPort() |
IPPort |
PeersSet.getLocalNode() |
IPPort |
Message.getSourceIPPort() |
static IPPort |
IPPort.parseIPPort(java.lang.String s)
Gets a new IPPort object from an String representation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MultiPeer.addDestination(IPPort ipp)
Adds a destination suitable to "connect" to it.
|
private static long |
IPPort.computeGUID(IPPort p)
Compute the GUID of a IPPort.
|
boolean |
Destination.connnect(IPPort ipp)
Connects to the destination end point represented by the passed IPPort object.
|
Destination |
PeersSet.getDestinationByIPPort(IPPort ipp)
Gets a "Destination" reference from the IPPort identity.
|
Destination |
MultiPeer.getDestinationByIPPort(IPPort ipp) |
boolean |
PeersSet.isDestinationContained(IPPort ipp)
Checks if an end point is in the data structure.
|
boolean |
MultiPeer.isDestinationContained(IPPort ipp) |
boolean |
IPPort.isEqual(IPPort p)
Comparison methods
|
boolean |
IPPort.isGreater(IPPort p) |
boolean |
IPPort.isLower(IPPort p) |
private void |
DiscoveringService.notifyIPPortReception(IPPort ipPort)
Used by "DiscoverReadThread" in order to notify the detection of a new peer.
|
Constructor and Description |
---|
DiscoveringService(MultiPeer mp,
IPPort ipp)
DiscoveringService constructor.
|
IPPort(IPPort ipp)
Constructor (copy)
|
MessagePlain(IPPort srcIPP,
byte[] buf)
Create a plain message based on the passed buffer.
|
MessageProxyWrapper(IPPort srcIPP,
Message msg,
int[] destPortsLst)
Constructor.
|
MessageSyncTime(IPPort srcIPP,
byte[] buf)
Create a time message based on the passed buffer.
|
MessageTopicData(IPPort srcIPP,
java.lang.String nam,
byte[] bufPay)
Create a topic message based on the passed buffer.
|
MessageTopicLinks(IPPort srcIPP,
MessageTopicLinks.CommandType cmd,
java.util.ArrayList<java.lang.String> topicList)
Create a topic links message based on the passed buffer.
|
PeersSet(IPPort ipp)
Constructor
|