public class GroupDefiner
extends java.lang.Object
| Constructor and Description |
|---|
GroupDefiner(GroupSelector groupSelector)
Constructs GroupDefiner for specified Group Selection Module
|
| Modifier and Type | Method and Description |
|---|---|
GroupSelector |
getGroupProcessor()
Gets the Group Selection Module that is used by the GroupDefiner
|
void |
receiveMessageTopic(Message mobileNodeInformation)
Informs the GroupDefiner that there is a new CxtU to be processed
|
void |
sendGDiffMessageToDomain(Message mobileNodeInformation,
java.util.Collection<java.lang.Integer> gDiffMessage,
int groupType)
Sends the G-diff message through DDS Domains
|
void |
sendGDiffProhibiteMessageToDomain(Message mobileNodeInformation,
java.util.Collection<java.lang.Integer> prohibiteGroupCollection,
int groupType)
Sends the G-diff message through DDS Domains
|
public GroupDefiner(GroupSelector groupSelector)
groupSelector - processes the CxtU messages to classify mobile nodes into groupspublic void receiveMessageTopic(Message mobileNodeInformation)
mobileNodeInformation - CxtU message produced by a Mobile Nodepublic void sendGDiffMessageToDomain(Message mobileNodeInformation, java.util.Collection<java.lang.Integer> gDiffMessage, int groupType)
mobileNodeInformation - Mobile Nodeīs CxtU message that holds its ID and GatewaygDiffMessage - G-diff message that holds the group membership differencegroupType - Groupsī group typepublic void sendGDiffProhibiteMessageToDomain(Message mobileNodeInformation, java.util.Collection<java.lang.Integer> prohibiteGroupCollection, int groupType)
mobileNodeInformation - Mobile Nodeīs CxtU message that holds its ID and GatewayprohibiteGroupCollection - groupType - Groupsī group typepublic GroupSelector getGroupProcessor()