|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Node | |
---|---|
peer2me.framework | |
peer2me.group | |
peer2me.message | |
peer2me.network | |
peer2me.network.bluetooth | |
peer2me.session |
Uses of Node in peer2me.framework |
---|
Methods in peer2me.framework that return Node | |
---|---|
Node[] |
Framework.getAllNodes()
Gets all the discovered nodes Calling on the corresponding method in Session . |
Node[] |
Framework.getAllNodes(Group group)
Gets alle the nodes in the given group. |
Node |
Framework.getLocalNode()
Returns the local node |
Node |
Framework.getNode(int index,
Group group)
Gets the Node at the given index
in the given Group . |
Node |
Framework.getNode(java.lang.String address)
Gets a Node based on an address
Calling on the corresponding method in
Session . |
Methods in peer2me.framework with parameters of type Node | |
---|---|
Group |
Framework.createGroup(java.lang.String name,
Node[] nodes)
This method creates a Group and adds it to
the session. |
void |
Framework.moveNode(Node node,
Group from,
Group to)
Moves a Node from one Group
to another. |
void |
FrameworkSubscriber.nodeDiscovered(Node node)
This method is called whenever a new Node is discovered |
void |
Framework.nodeFound(Node node)
This method is called whenever a new Node is discovered. |
void |
FrameworkSubscriber.nodeLost(Node node)
This is called whenever a Node is lost or abscent |
void |
Framework.nodeLost(Node node)
This method is called whenever a new Node is lost or abscent. |
void |
Framework.removeNode(Node node,
Group group)
Removes a Node from a Group . |
Uses of Node in peer2me.group |
---|
Methods in peer2me.group that return Node | |
---|---|
Node |
Group.getNode(java.lang.String address)
Gets a Node with the specified address |
Node |
Group.getNodeAt(int index)
Gets a Node at det specified index |
Node[] |
Group.getNodes()
Gets an array of Node in the group |
Methods in peer2me.group with parameters of type Node | |
---|---|
void |
Group.addNode(Node node)
Adds a Node the group |
int |
Group.getIndexOfNode(Node node)
Returns the index of a given Node . |
void |
Group.removeNode(Node node)
Removes the specified Node |
Constructors in peer2me.group with parameters of type Node | |
---|---|
Group(java.lang.String name,
Node[] nodes)
Creates a new instance of Group with a name and existing nodes |
Uses of Node in peer2me.message |
---|
Methods in peer2me.message that return Node | |
---|---|
Node |
LinkedPingRecipientsList.getFirstNode()
Returns the Node which is contained in the first element in the list. |
Node[] |
Message.getRecipients()
Returns all the recipients of this message |
Node |
Message.getSender()
Returns a Node representation of the sender of this message |
Methods in peer2me.message with parameters of type Node | |
---|---|
boolean |
Message.addRecipient(Node node)
Adds a node to the collection of nodes that are to receive the message. |
void |
Message.addRecipients(Node[] nodes)
Sets an array of nodes as recipients of this message |
void |
LinkedPingRecipientsList.insert(Node node)
Inserts a Node at the beginning of the list |
void |
LinkedPingRecipientsList.insertLast(Node node)
Inserts a PingRecipientObject at the end of the list |
void |
Message.setSender(Node sender)
Sets the sender of this message. |
Uses of Node in peer2me.network |
---|
Methods in peer2me.network with parameters of type Node | |
---|---|
abstract void |
Network.echo(Node node)
This method should run incrementEcho() on the
given Node |
abstract void |
Network.nodeLost(Node node)
This method should be called whenever a node is lost or abscent. |
Uses of Node in peer2me.network.bluetooth |
---|
Methods in peer2me.network.bluetooth with parameters of type Node | |
---|---|
void |
Bluetooth.checkPingResponse(Node node)
Checks to see if nodes has responded to pings. |
void |
Bluetooth.echo(Node node)
|
void |
Bluetooth.nodeLost(Node node)
If a node leaves the network or does not respond to pings, this method is invoked. |
Uses of Node in peer2me.session |
---|
Methods in peer2me.session that return Node | |
---|---|
Node[] |
Session.getAllNodes()
Gets all the discovered nodes |
Node[] |
Session.getAllNodes(Group group)
Gets alle the nodes in the given group. |
Node |
Session.getLocalNode()
Gets the local Node |
Node |
Session.getNode(int index,
Group group)
Gets the Node at the given index
in the given Group . |
Node |
Session.getNode(java.lang.String address)
Gets a Node based on an address |
Methods in peer2me.session with parameters of type Node | |
---|---|
Group |
Session.createGroup(java.lang.String name,
Node[] nodes)
This method creates a Group and adds it to
the session. |
Group |
Session.getGroup(Node node)
Gets a Group based on a Node . |
void |
Session.moveNode(Node node,
Group from,
Group to)
Moves a Node from one Group
to another. |
void |
Session.nodeLost(Node node)
This mehtod is called whenever a Node is lost or abscent. |
void |
Session.removeNode(Node node,
Group group)
Removes a Node from a Group . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |