|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.matching.tagvaluepairs.TagValueClientMatching
public class TagValueClientMatching
This class implements the matching algorithm. This provides methods to add a subscription and also to remove interest in a subscription predicate. The matching algorithm should also be able to compute destinations based on the general matching algorithm.
| Field Summary |
|---|
| Fields inherited from interface cgl.narada.matching.tagvaluepairs.TagValueMatchingDebugFlags |
|---|
TagValueClientEdgeAttributes_Debug, TagValueClientMatching_Debug, TagValueClientMatchingTreeEdge_Debug, TagValueClientMatchingTreeNode_Debug, TagValueClientProfile_Debug, TagValueEdgeAttributes_Debug, TagValueEvent_Debug, TagValueMatching_Debug, TagValueMatchingTreeEdge_Debug, TagValueMatchingTreeNode_Debug, TagValueProfile_Debug |
| Constructor Summary | |
|---|---|
TagValueClientMatching(int unitLevel,
int systemLevel,
ProfilePropagationProtocol profilePropagationProtocol)
The Matching constructor |
|
| Method Summary | |
|---|---|
void |
addSubscriptionProfile(Profile profile)
This method adds a subscription predicate to the matching tree |
int |
getManagedProfileType()
Returns the type of profiles managed by this matching engine |
int |
getMatchingLevel()
This method returns the level assocaited with this matching tree. |
static void |
main(String[] args)
|
Object |
matchEvent(NBEvent nbEvent)
This method return the destinations assocaited with an event that needs to be matched to the matching tree |
void |
propagateChangesToHigherLevels(Profile profile,
boolean addProfile)
Propagates profile changes to higher levels |
void |
removeProfilesForDestination(Object clientIdentifier,
String linkId)
|
void |
removeSubscriptionProfile(Profile profile)
This method removes a subscription profile to the matching tree |
void |
setNodeDestination(Destinations destination)
This method sets the destination address for this node |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TagValueClientMatching(int unitLevel,
int systemLevel,
ProfilePropagationProtocol profilePropagationProtocol)
| Method Detail |
|---|
public int getMatchingLevel()
getMatchingLevel in interface MatchingTreepublic void setNodeDestination(Destinations destination)
setNodeDestination in interface MatchingTreepublic void addSubscriptionProfile(Profile profile)
addSubscriptionProfile in interface MatchingTreeprofile - The predicate comprising the subscription and the destination
assocaited with the subscription.
public void removeProfilesForDestination(Object clientIdentifier,
String linkId)
public void removeSubscriptionProfile(Profile profile)
removeSubscriptionProfile in interface MatchingTreeprofile - The profile comprising the subscription and the destination
assocaited with the subscription.
public void propagateChangesToHigherLevels(Profile profile,
boolean addProfile)
MatchingTree
propagateChangesToHigherLevels in interface MatchingTreepublic Object matchEvent(NBEvent nbEvent)
matchEvent in interface MatchingTreepublic int getManagedProfileType()
getManagedProfileType in interface MatchingTreepublic static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||