public interface GroupSelector
GroupSelector
can be used as a Group Selection Module by GroupDefiner
.
The Group Selection Module is responsible for reading CxtU messages from the DDS domain, recording the current groups related to the message, and handling
the CxtU object to the Group Selection module. This module will execute a specific mapping algorithm to determine the context-defined group/s that correspond
to the received context data, e.g. if the CxtU data is within a certain range or region. This result is then handed back to the generic part of GroupDefiner,
which will calculate the G-diff message and publish it to GroupAdvertisement topic in the DDS domain.Modifier and Type | Method and Description |
---|---|
int |
getGroupType()
Method used by GroupDefiner to obtains the GroupType of the Group Selection Module
|
java.util.Set<java.lang.Integer> |
processGroups(Message nodeMessage)
Processes the Mobile Node´s group membership using the Context Update (CxtU) message
|
int getGroupType()
java.util.Set<java.lang.Integer> processGroups(Message nodeMessage)
nodeMessage
- Context Update (CxtU) message produced by Mobile Node