|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.matching.tagvalue.ClientMatching
public class ClientMatching
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.tagvalue.ClientMatchingDebugFlags |
|---|
ClientEdgeAttributes_Debug, ClientMatching_Debug, ClientMatchingTreeEdge_Debug, ClientMatchingTreeNode_Debug |
| Constructor Summary | |
|---|---|
ClientMatching(int unitLevel,
int systemLevel,
TagValueProfilePropagation tvProtocol)
The Matching constructor |
|
| Method Summary | |
|---|---|
void |
addSubscriptionPredicate(Predicate predicate)
This method adds a subscription predicate to the matching tree |
int |
getMatchingLevel()
This method returns the level assocaited with this matching tree. |
static void |
main(String[] args)
|
Hashtable |
matchEvent(MEvent e)
This method return the destinations assocaited with an event that needs to be matched to the matching tree |
void |
matchEventForStorage(MEvent e,
EventDestinations eDest)
This method return the destinations assocaited with an event that needs to be matched to the matching tree. |
void |
propagateChangesToHigherLevels(Predicate predicate,
boolean addPredicate)
|
void |
removePredicatesForDestination(Object clientIdentifier)
|
void |
removeSubscriptionPredicate(Predicate predicate)
This method removes a subscription predicate 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 ClientMatching(int unitLevel,
int systemLevel,
TagValueProfilePropagation tvProtocol)
| Method Detail |
|---|
public int getMatchingLevel()
public void setNodeDestination(Destinations destination)
setNodeDestination in interface MatchingTreepublic void addSubscriptionPredicate(Predicate predicate)
addSubscriptionPredicate in interface MatchingTreepredicate - The predicate comprising the subscription and the destination
assocaited with the subscription.public void removePredicatesForDestination(Object clientIdentifier)
public void removeSubscriptionPredicate(Predicate predicate)
removeSubscriptionPredicate in interface MatchingTreepredicate - The predicate comprising the subscription and the destination
assocaited with the subscription.
public void propagateChangesToHigherLevels(Predicate predicate,
boolean addPredicate)
propagateChangesToHigherLevels in interface MatchingTreepublic Hashtable matchEvent(MEvent e)
public void matchEventForStorage(MEvent e,
EventDestinations eDest)
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||