cgl.narada.matching.tagvaluepairs
Class TagValueClientEdgeAttributes

java.lang.Object
  extended by cgl.narada.matching.tagvaluepairs.TagValueClientEdgeAttributes
All Implemented Interfaces:
TagValueMatchingDebugFlags

public class TagValueClientEdgeAttributes
extends Object
implements TagValueMatchingDebugFlags

This keeps track of the destinations, and the number of predicates within each destination that are interested in a particular edge. This irrespective of wether the edge in question is connected to another node in the matching tree graph or if its simply a destination edge. The destinations thus returned need to be fed into the event routing protocol, which provides the shortest routes to reach destinations at different levels.


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
TagValueClientEdgeAttributes(boolean destEdge)
           
 
Method Summary
 void addDestination(int destination, Profile profile)
           
 boolean containsDestinations()
          This method serves as the precursor to the deletion of certain nodes and edges, in response to the removal of an interest in subscription predicates.
 Hashtable getDestinations()
          Returns the list of destinations associated with the edge
 int getPredicateCount()
           
static void main(String[] args)
           
 void removeDestination(int destination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagValueClientEdgeAttributes

public TagValueClientEdgeAttributes(boolean destEdge)
Method Detail

addDestination

public void addDestination(int destination,
                           Profile profile)

removeDestination

public void removeDestination(int destination)

containsDestinations

public boolean containsDestinations()
This method serves as the precursor to the deletion of certain nodes and edges, in response to the removal of an interest in subscription predicates.


getDestinations

public Hashtable getDestinations()
Returns the list of destinations associated with the edge


getPredicateCount

public int getPredicateCount()

main

public static void main(String[] args)


For comments and suggestions please send e-mail to The NaradaBrokering Project