org.objectweb.joram.mom.notifications
Class BrowseReply
java.lang.Object
fr.dyade.aaa.agent.Notification
org.objectweb.joram.mom.notifications.AbstractNotification
org.objectweb.joram.mom.notifications.AbstractReplyNot
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
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 |
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.
BrowseReply
public BrowseReply(BrowseRequest req)
- Constructs a
BrowseReply
instance.
- Parameters:
req
- The BrowseRequest
actually replied.
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.