org.objectweb.joram.mom.notifications
Class QueueMsgReply
java.lang.Object
fr.dyade.aaa.agent.Notification
org.objectweb.joram.mom.notifications.AbstractNotification
org.objectweb.joram.mom.notifications.AbstractReply
org.objectweb.joram.mom.notifications.QueueMsgReply
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class QueueMsgReply
- extends AbstractReply
A QueueMsgReply instance is used by a queue for replying to a
ReceiveRequest by sending a message to a client.
- See Also:
- Serialized Form
| Fields inherited from class fr.dyade.aaa.agent.Notification |
detachable, detached, persistent |
| Methods inherited from class fr.dyade.aaa.agent.Notification |
clone, getContext, getMessageId, isPersistent, setContext |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QueueMsgReply
public QueueMsgReply(ReceiveRequest req)
- Constructs a
QueueMsgReply instance.
- Parameters:
req - The ReceiveRequest actually replied.
getMessages
public java.util.Vector getMessages()
- Returns the message wrapped by this reply.
getSize
public int getSize()
addMessage
public void addMessage(Message msg)
toString
public java.lang.String toString()
- Overrides:
toString in class AbstractReply
Copyright © 2005 Scalagent - All rights reserved