|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcgl.narada.matching.rtp.RtpMatching
public class RtpMatching
This class implements the RTP 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.
Field Summary |
---|
Fields inherited from interface cgl.narada.matching.rtp.RtpMatchingDebugFlags |
---|
ClientRtpMatching_Debug, RtpMatching_Debug, RtpProfile_Debug |
Constructor Summary | |
---|---|
RtpMatching(int unitLevel,
int systemLevel,
RtpProfilePropagation rtpPropagate)
The RtpMatching constructor |
Method Summary | |
---|---|
void |
addSubscriptionProfile(RtpProfile profile)
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)
|
int |
matchEvent(RtpEvent rtpEvent)
This method return the destinations assocaited with an event that needs to be matched to the matching tree |
void |
propagateChangesToHigherLevels(RtpProfile rtpProfile,
boolean addProfile)
|
void |
removeSubscriptionProfile(RtpProfile profile)
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 RtpMatching(int unitLevel, int systemLevel, RtpProfilePropagation rtpPropagate)
Method Detail |
---|
public int getMatchingLevel()
public void setNodeDestination(Destinations destination)
setNodeDestination
in interface RtpMatchingTree
public void addSubscriptionProfile(RtpProfile profile)
addSubscriptionProfile
in interface RtpMatchingTree
predicate
- The predicate comprising the subscription and
the destination assocaited with the subscription.public void removeSubscriptionProfile(RtpProfile profile)
removeSubscriptionProfile
in interface RtpMatchingTree
predicate
- The predicate comprising the subscription and
the destination assocaited with the subscription.public void propagateChangesToHigherLevels(RtpProfile rtpProfile, boolean addProfile)
propagateChangesToHigherLevels
in interface RtpMatchingTree
public int matchEvent(RtpEvent rtpEvent)
public static void main(String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |