Package | Description |
---|---|
lac.cnclib.net.groups | |
lac.cnclib.net.groups.message | |
lac.cnet.gateway.data |
Modifier and Type | Method and Description |
---|---|
java.util.List<Group> |
GroupCommunicationManager.getAllGroups()
Gets a list with all locally subscribed groups.
|
java.util.List<Group> |
GroupCommunicationManager.getJoinedGroups()
Gets a list with all locally explicitly subscribed groups.
|
Modifier and Type | Method and Description |
---|---|
int |
Group.compareTo(Group otherGroup)
Compares this Group with the specified Group
|
void |
GroupCommunicationManager.joinGroup(Group group)
Makes the node to explicitly join the especified group.
|
void |
GroupCommunicationManager.leaveGroup(Group group)
Makes the node to leave the explicitly joined group.
|
void |
GroupCommunicationManager.sendGroupcastMessage(ApplicationMessage message,
Group group)
Sends a message to the specified group.
|
Modifier and Type | Method and Description |
---|---|
void |
GroupMembershipListener.enteringGroups(java.util.List<Group> groups)
Invoked when node enters a group
|
void |
GroupCommunicationManager.joinGroup(java.util.List<Group> groups)
Makes the node to explicitly join the especified groups.
|
void |
GroupCommunicationManager.leaveGroup(java.util.List<Group> groups)
Makes the node to leave the explicitly joined groups.
|
void |
GroupMembershipListener.leavingGroups(java.util.List<Group> groups)
Invoked when node leaves a group
|
void |
GroupCommunicationManager.sendGroupcastMessage(ApplicationMessage message,
java.util.List<Group> groups)
Sends a message to the specified groups.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Group> |
GroupcastMessage.getGroups()
Gets the groups.
|
java.util.List<Group> |
GroupMembershipStatusData.getJoinedGroup()
Returns the list of groups just joined.
|
java.util.List<Group> |
GroupMembershipStatusData.getLeftGroup()
Returns a list of groups just left.
|
Constructor and Description |
---|
GroupcastMessage(Message message,
Group group)
Default constructor.
|
Constructor and Description |
---|
GroupcastMessage(Message message,
java.util.List<Group> groups)
Default constructor.
|
GroupMembershipOperation(java.util.List<Group> groupsJoined,
java.util.List<Group> groupsLeft)
Default constructor.
|
GroupMembershipOperation(java.util.List<Group> groupsJoined,
java.util.List<Group> groupsLeft)
Default constructor.
|
GroupMembershipOperation(java.util.Set<Group> groupsJoined,
java.util.Set<Group> groupsLeft)
Default constructor.
|
GroupMembershipOperation(java.util.Set<Group> groupsJoined,
java.util.Set<Group> groupsLeft)
Default constructor.
|
GroupMembershipStatusData(java.util.List<Group> groupsJoined,
java.util.List<Group> groupsLeft)
Default constructor.
|
GroupMembershipStatusData(java.util.List<Group> groupsJoined,
java.util.List<Group> groupsLeft)
Default constructor.
|
GroupMembershipStatusData(java.util.Set<Group> groupsJoined,
java.util.Set<Group> groupsLeft)
Default constructor.
|
GroupMembershipStatusData(java.util.Set<Group> groupsJoined,
java.util.Set<Group> groupsLeft)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Group> |
AssociatedNode.getGroups()
Gets the Node´s group membership
|
Modifier and Type | Method and Description |
---|---|
boolean |
AssociatedNode.addGroup(Group group)
Adds a group to node´s group membership
|
Modifier and Type | Method and Description |
---|---|
void |
AssociatedNode.addAllGroups(java.util.Set<Group> groupCollection)
Adds many groups to node´s group membership
|
void |
AssociatedNode.removeAllGroups(java.util.Set<Group> toBeRemovedGroupCollection)
Removes all groups from node´s group membership
|