public class BrowseReply extends AbstractReplyNot
BrowseReply
instance is used by a queue for replying
to a client BrowseRequest
by sending a vector of its messages.Modifier and Type | Field and Description |
---|---|
private Message |
message
The message contained in the queue.
|
private Vector |
messages
The messages contained in the queue.
|
private static long |
serialVersionUID |
detachable, detached, persistent
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
Constructor and Description |
---|
BrowseReply(BrowseRequest req)
Constructs a
BrowseReply instance. |
Modifier and Type | Method and Description |
---|---|
void |
addMessage(Message msg)
Adds a message.
|
Vector |
getMessages()
Returns the messages carried by this reply.
|
getCorrelationId, toString
decode, encode, getClientContext, getEncodedSize, setPersistent
done, failed, hasCallback, passCallback, setCountDownCallback
clone, getContext, getDeadNotificationAgentId, getEncodableClassId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
private static final long serialVersionUID
private Message message
private Vector messages
public BrowseReply(BrowseRequest req)
BrowseReply
instance.req
- The BrowseRequest
actually replied.Copyright © 2020 ScalAgent D.T.. All rights reserved.