Class BrowseReply
- 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.BrowseReply
-
- All Implemented Interfaces:
Encodable,Serializable,Cloneable
public class BrowseReply extends AbstractReplyNot
ABrowseReplyinstance is used by a queue for replying to a clientBrowseRequestby sending a vector of its messages.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private MessagemessageThe message contained in the queue.private Vector<Message>messagesThe messages contained in the queue.private static longserialVersionUID-
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 BrowseReply(BrowseRequest req)Builds aBrowseReplyinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMessage(Message msg)Adds a message.Vector<Message>getMessages()Returns the messages carried by this reply.-
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
- See Also:
- Constant Field Values
-
message
private Message message
The message contained in the queue.
-
-
Constructor Detail
-
BrowseReply
public BrowseReply(BrowseRequest req)
Builds aBrowseReplyinstance.- Parameters:
req- TheBrowseRequestactually replied.
-
-