org.objectweb.joram.mom.notifications
Class TopicMsgsReply
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.TopicMsgsReply
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class TopicMsgsReply
- extends AbstractReplyNot
A TopicMsgsReply
instance is used by a topic for sending
messages to an agent client which subscribed to it.
- See Also:
- Serialized Form
Constructor Summary |
TopicMsgsReply(java.util.List messages)
Constructs a TopicMsgsReply . |
Method Summary |
java.util.List |
getMessages()
Returns the messages. |
void |
setDMQId(AgentId dmqId)
Sets the identifier of the producer's dead message queue. |
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
messages
private java.util.List messages
- Vector of messages.
TopicMsgsReply
public TopicMsgsReply(java.util.List messages)
- Constructs a
TopicMsgsReply
.
- Parameters:
messages
- List of delivered messages.
getMessages
public java.util.List getMessages()
- Returns the messages.
setDMQId
public void setDMQId(AgentId dmqId)
- Sets the identifier of the producer's dead message queue. Basically, it
simply calls
Notification.setDeadNotificationAgentId(AgentId)
Copyright © 2010 ScalAgent D.T.. All Rights Reserved.