org.objectweb.joram.mom.notifications
Class QueueMsgReply

java.lang.Object
  extended byfr.dyade.aaa.agent.Notification
      extended byorg.objectweb.joram.mom.notifications.AbstractNotification
          extended byorg.objectweb.joram.mom.notifications.AbstractReply
              extended byorg.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

Field Summary
 
Fields inherited from class fr.dyade.aaa.agent.Notification
persistent
 
Constructor Summary
QueueMsgReply(ReceiveRequest req, Message message)
          Constructs a QueueMsgReply instance.
 
Method Summary
 Message getMessage()
          Returns the message wrapped by this reply.
 java.lang.String toString()
           
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractReply
getCorrelationId
 
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

QueueMsgReply

public QueueMsgReply(ReceiveRequest req,
                     Message message)
Constructs a QueueMsgReply instance.

Parameters:
req - The ReceiveRequest actually replied.
message - The message to send.
Method Detail

getMessage

public Message getMessage()
Returns the message wrapped by this reply.


toString

public java.lang.String toString()
Overrides:
toString in class AbstractReply


Copyright ? 2004 Scalagent - All rights reserved