org.objectweb.joram.mom.notifications
Class BrowseRequest

java.lang.Object
  extended by fr.dyade.aaa.agent.Notification
      extended by org.objectweb.joram.mom.notifications.AbstractNotification
          extended by org.objectweb.joram.mom.notifications.AbstractRequestNot
              extended by org.objectweb.joram.mom.notifications.BrowseRequest
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class BrowseRequest
extends AbstractRequestNot

A BrowseRequest instance is used by a client agent for requesting a "view" of the messages on a queue, without actually consuming them.

See Also:
Serialized Form

Field Summary
private  java.lang.String selector
          String selector for filtering messages, null or empty for no selection.
private static long serialVersionUID
           
 
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
 
Constructor Summary
BrowseRequest(int clientContext, int requestId, java.lang.String selector)
          Constructs a BrowseRequest instance.
 
Method Summary
 java.lang.String getSelector()
          Returns the selector of the request.
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractRequestNot
getRequestId, toString
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
getClientContext, setPersistent
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

selector

private java.lang.String selector
String selector for filtering messages, null or empty for no selection.

Constructor Detail

BrowseRequest

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

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

getSelector

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



Copyright © 2010 ScalAgent D.T.. All Rights Reserved.