public class BrowseRequest extends AbstractRequestNot
BrowseRequest
instance is used by a client agent for
requesting a "view" of the messages on a queue, without actually consuming
them.Modifier and Type | Field and Description |
---|---|
private String |
selector
String selector for filtering messages, null or empty for no selection.
|
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 |
---|
BrowseRequest(int clientContext,
int requestId,
String selector)
Constructs a
BrowseRequest instance. |
Modifier and Type | Method and Description |
---|---|
String |
getSelector()
Returns the selector of the request.
|
decode, encode, getEncodedSize, getRequestId, toString
getClientContext, 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 String selector
public BrowseRequest(int clientContext, int requestId, String selector)
BrowseRequest
instance.clientContext
- Identifies a client context.requestId
- Request identifier.selector
- Selector expression for filtering messages, null or empty
for no selection.public String getSelector()
Copyright © 2022 ScalAgent D.T.. All rights reserved.