|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcgl.narada.matching.jms.ClientJmsMatching
public class ClientJmsMatching
This class implements the jms 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.jms.JmsMatchingDebugFlags |
---|
ClientJmsMatching_Debug, JmsMatching_Debug, JmsProfile_Debug |
Constructor Summary | |
---|---|
ClientJmsMatching(int unitLevel,
int systemLevel,
JmsProfilePropagation jmsPropagate)
The JmsMatching constructor |
Method Summary | |
---|---|
void |
addSubscriptionProfile(JmsProfile jmsProfile)
This method adds a subscription profile to the matching tree |
int |
getMatchingLevel()
This method returns the level assocaited with this matching tree. |
static void |
main(String[] args)
|
Hashtable |
matchEvent(JmsEvent jmsEvent)
This method return the destinations assocaited with an event that needs to be matched to the matching tree |
void |
propagateChangesToHigherLevels(JmsProfile jmsProfile,
boolean addProfile)
|
void |
removeProfilesForDestination(Object clientIdentifier,
String linkId)
|
void |
removeProfileWithId(Object profileId)
This method removes a subscription profile |
void |
removeSubscriptionProfile(JmsProfile jmsProfile)
|
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 ClientJmsMatching(int unitLevel, int systemLevel, JmsProfilePropagation jmsPropagate)
Method Detail |
---|
public int getMatchingLevel()
public void setNodeDestination(Destinations destination)
setNodeDestination
in interface JmsMatchingTree
public void addSubscriptionProfile(JmsProfile jmsProfile)
addSubscriptionProfile
in interface JmsMatchingTree
jmsProfile
- The profile comprising the subscription and the destination
assocaited with the subscription.public void removeSubscriptionProfile(JmsProfile jmsProfile)
removeSubscriptionProfile
in interface JmsMatchingTree
public void removeProfilesForDestination(Object clientIdentifier, String linkId)
public void removeProfileWithId(Object profileId)
public void propagateChangesToHigherLevels(JmsProfile jmsProfile, boolean addProfile)
propagateChangesToHigherLevels
in interface JmsMatchingTree
public Hashtable matchEvent(JmsEvent jmsEvent)
public static void main(String[] args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |