|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Group | |
---|---|
peer2me.framework | |
peer2me.message | |
peer2me.session |
Uses of Group in peer2me.framework |
---|
Methods in peer2me.framework that return Group | |
---|---|
Group |
Framework.createGroup(java.lang.String name)
This method creates a new Group and adds it to
the groupcollection session. |
Group |
Framework.createGroup(java.lang.String name,
Node[] nodes)
This method creates a Group and adds it to
the session. |
Group |
Framework.getGroup(java.lang.String name)
Gets a Group with the corresponding name. |
Group |
Framework.getGroupAt(int index)
Gets the Group at the given index in the collection of
groups in session. |
Group[] |
Framework.getGroups()
Gets all the groups. |
Methods in peer2me.framework with parameters of type Group | |
---|---|
Node[] |
Framework.getAllNodes(Group group)
Gets alle the nodes in the given group. |
Node |
Framework.getNode(int index,
Group group)
Gets the Node at the given index
in the given Group . |
void |
Framework.moveNode(Node node,
Group from,
Group to)
Moves a Node from one Group
to another. |
void |
Framework.removeNode(int index,
Group group)
Removes a Node with the given index from a Group . |
void |
Framework.removeNode(Node node,
Group group)
Removes a Node from a Group . |
Uses of Group in peer2me.message |
---|
Methods in peer2me.message with parameters of type Group | |
---|---|
void |
Message.addRecipients(Group group)
Sets an entire group of nodes as recipients of the message |
Uses of Group in peer2me.session |
---|
Methods in peer2me.session that return Group | |
---|---|
Group |
Session.createGroup(java.lang.String name)
This method creates a new Group and adds it to
the session. |
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 . |
Group |
Session.getGroup(java.lang.String name)
Gets a Group with the corresponding name. |
Group |
Session.getGroupAt(int index)
Gets the Group at the given index in the collection of
groups in session. |
Group[] |
Session.getGroups()
Gets all the groups |
Methods in peer2me.session with parameters of type Group | |
---|---|
Node[] |
Session.getAllNodes(Group group)
Gets alle the nodes in the given group. |
static Session |
Session.getInstance(Framework framework,
Group group,
Service service,
Network network,
boolean activatePing)
This should be used only one time, and sets a default Group ,
the Network and the Service . |
Node |
Session.getNode(int index,
Group group)
Gets the Node at the given index
in the given Group . |
void |
Session.moveNode(Node node,
Group from,
Group to)
Moves a Node from one Group
to another. |
void |
Session.removeNode(int index,
Group group)
Removes a Node with the given index from a Group . |
void |
Session.removeNode(Node node,
Group group)
Removes a Node from a Group . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |