org.objectweb.joram.mom.notifications
Class BrowseReply

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.AbstractReplyNot
              extended by org.objectweb.joram.mom.notifications.BrowseReply
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class BrowseReply
extends AbstractReplyNot

A BrowseReply instance is used by a queue for replying to a client BrowseRequest by sending a vector of its messages.

See Also:
Serialized Form

Field Summary
private  Message message
          The message contained in the queue.
private  java.util.Vector messages
          The messages contained in the queue.
private static long serialVersionUID
           
 
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
 
Constructor Summary
BrowseReply(BrowseRequest req)
          Constructs a BrowseReply instance.
 
Method Summary
 void addMessage(Message msg)
          Adds a message.
 java.util.Vector getMessages()
          Returns the messages carried by this reply.
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractReplyNot
getCorrelationId, 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

message

private Message message
The message contained in the queue.


messages

private java.util.Vector messages
The messages contained in the queue.

Constructor Detail

BrowseReply

public BrowseReply(BrowseRequest req)
Constructs a BrowseReply instance.

Parameters:
req - The BrowseRequest actually replied.
Method Detail

addMessage

public void addMessage(Message msg)
Adds a message.


getMessages

public java.util.Vector getMessages()
Returns the messages carried by this reply.



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