org.objectweb.joram.mom.notifications
Class SubscribeRequest

java.lang.Object
  extended byfr.dyade.aaa.agent.Notification
      extended byorg.objectweb.joram.mom.notifications.AbstractNotification
          extended byorg.objectweb.joram.mom.notifications.AbstractRequest
              extended byorg.objectweb.joram.mom.notifications.SubscribeRequest
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class SubscribeRequest
extends AbstractRequest

A SubscribeRequest instance is used by a client agent for subscribing to a topic.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.dyade.aaa.agent.Notification
persistent
 
Constructor Summary
SubscribeRequest(int clientContext, int requestId, java.lang.String selector)
          Constructs a SubscribeRequest instance.
 
Method Summary
 java.lang.String getSelector()
          Returns the selector.
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractRequest
getRequestId, toString
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
getClientContext
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, setContext
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubscribeRequest

public SubscribeRequest(int clientContext,
                        int requestId,
                        java.lang.String selector)
Constructs a SubscribeRequest instance.

Parameters:
clientContext - Identifies a client context.
requestId - Request identifier.
selector - Selector expression for filtering messages, null or empty string for no selection.
Method Detail

getSelector

public java.lang.String getSelector()
Returns the selector.



Copyright ? 2004 Scalagent - All rights reserved