Package | Description |
---|---|
comingle.comms.directory | |
comingle.comms.listeners | |
comingle.comms.message |
Modifier and Type | Method and Description |
---|---|
NodeInfo |
BaseDirectory.getLocalNode() |
NodeInfo |
BaseDirectory.getNode(java.net.InetAddress inetaddr)
Get the node info corresponding to the input inet address.
|
NodeInfo |
BaseDirectory.getNode(int loc)
Get a node given a unique location identifier.
|
NodeInfo |
BaseDirectory.getNode(java.lang.String ipAddr)
Get the node info corresponding to the input ip address.
|
NodeInfo[] |
BaseDirectory.getNodeArray() |
NodeInfo |
BaseDirectory.localNodeInfo(int loc,
java.lang.String ipAddress,
java.lang.String role) |
NodeInfo |
BaseDirectory.newNodeInfo(java.lang.String ipAddress,
java.lang.String name,
java.lang.String deviceID,
java.lang.String role) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<NodeInfo> |
NodeInfo.addedDiff(java.util.List<NodeInfo> ns,
java.util.List<NodeInfo> os) |
static java.util.List<NodeInfo> |
NodeInfo.addedDiff(NodeInfo[] arr,
java.util.List<NodeInfo> os) |
static java.util.List<NodeInfo> |
NodeInfo.droppedDiff(java.util.List<NodeInfo> ns,
java.util.List<NodeInfo> os) |
static java.util.List<NodeInfo> |
NodeInfo.droppedDiff(NodeInfo[] arr,
java.util.List<NodeInfo> os) |
java.util.List<NodeInfo> |
BaseDirectory.getNodes() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<NodeInfo> |
NodeInfo.addedDiff(NodeInfo[] arr,
java.util.List<NodeInfo> os) |
static java.util.List<NodeInfo> |
NodeInfo.droppedDiff(NodeInfo[] arr,
java.util.List<NodeInfo> os) |
boolean |
BaseDirectory.hasNode(NodeInfo peer)
Returns true if a node with this InetAddress exists in this directory.
|
void |
BaseDirectory.setLocalNode(NodeInfo node)
Set the local node to the given node.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<NodeInfo> |
NodeInfo.addedDiff(java.util.List<NodeInfo> ns,
java.util.List<NodeInfo> os) |
static java.util.List<NodeInfo> |
NodeInfo.addedDiff(java.util.List<NodeInfo> ns,
java.util.List<NodeInfo> os) |
static java.util.List<NodeInfo> |
NodeInfo.addedDiff(NodeInfo[] arr,
java.util.List<NodeInfo> os) |
static java.util.List<NodeInfo> |
NodeInfo.droppedDiff(java.util.List<NodeInfo> ns,
java.util.List<NodeInfo> os) |
static java.util.List<NodeInfo> |
NodeInfo.droppedDiff(java.util.List<NodeInfo> ns,
java.util.List<NodeInfo> os) |
static java.util.List<NodeInfo> |
NodeInfo.droppedDiff(NodeInfo[] arr,
java.util.List<NodeInfo> os) |
Modifier and Type | Method and Description |
---|---|
abstract void |
ConnectionEstablishedListener.doConnectionEstablishedAction(NodeInfo peer,
int role)
Listener action to invoke when directory has established a connection
|
abstract void |
LocalNodeInfoAvailableListener.doLocalNodeInfoAvailableAction(NodeInfo local,
int role) |
abstract void |
OwnerTerminationListener.doOwnerTerminationAction(NodeInfo owner,
int role) |
Modifier and Type | Method and Description |
---|---|
abstract void |
DirectoryChangedListener.doDirectoryChangedAction(java.util.List<NodeInfo> new_peers,
java.util.List<NodeInfo> added_nodes,
java.util.List<NodeInfo> dropped_nodes,
int role)
Listener action to invoke when the directory has been updated
|
abstract void |
DirectoryChangedListener.doDirectoryChangedAction(java.util.List<NodeInfo> new_peers,
java.util.List<NodeInfo> added_nodes,
java.util.List<NodeInfo> dropped_nodes,
int role)
Listener action to invoke when the directory has been updated
|
abstract void |
DirectoryChangedListener.doDirectoryChangedAction(java.util.List<NodeInfo> new_peers,
java.util.List<NodeInfo> added_nodes,
java.util.List<NodeInfo> dropped_nodes,
int role)
Listener action to invoke when the directory has been updated
|
Modifier and Type | Field and Description |
---|---|
NodeInfo[] |
Update.entries |
NodeInfo |
Quit.node |
NodeInfo |
Service.owner |
NodeInfo |
Accept.peer |
Constructor and Description |
---|
Accept(NodeInfo peer) |
Quit(NodeInfo local) |
Service(NodeInfo owner) |
Update(NodeInfo[] entries) |