Class TopicMsgsReply
- java.lang.Object
-
- fr.dyade.aaa.agent.Notification
-
- fr.dyade.aaa.agent.CallbackNotification
-
- org.objectweb.joram.mom.notifications.AbstractNotification
-
- org.objectweb.joram.mom.notifications.AbstractReplyNot
-
- org.objectweb.joram.mom.notifications.TopicMsgsReply
-
- All Implemented Interfaces:
Encodable,Serializable,Cloneable
public class TopicMsgsReply extends AbstractReplyNot
ATopicMsgsReplyinstance is used by a topic for sending messages to an agent client which subscribed to it.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private List<Message>messagesVector of messages.private static longserialVersionUIDdefine serialVersionUID for interoperability-
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
-
Fields inherited from interface fr.dyade.aaa.common.encoding.Encodable
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
-
-
Constructor Summary
Constructors Constructor Description TopicMsgsReply(List<Message> messages)Constructs aTopicMsgsReply.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Message>getMessages()Returns the messages.voidsetDMQId(AgentId dmqId)Sets the identifier of the producer's dead message queue.-
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractReplyNot
getCorrelationId, toString
-
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
decode, encode, getClientContext, getEncodedSize, setPersistent
-
Methods inherited from class fr.dyade.aaa.agent.CallbackNotification
done, failed, hasCallback, passCallback, setCountDownCallback
-
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getEncodableClassId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
define serialVersionUID for interoperability- See Also:
- Constant Field Values
-
-
Method Detail
-
setDMQId
public void setDMQId(AgentId dmqId)
Sets the identifier of the producer's dead message queue. Basically, it simply callsNotification.setDeadNotificationAgentId(AgentId)
-
-