|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.client.AbstractJmsMessage
org.objectweb.joram.shared.client.AbstractJmsRequest
org.objectweb.joram.shared.client.ConsumerSetListRequest
public final class ConsumerSetListRequest
A ConsumerSetListRequest
is sent by a
MessageConsumer
on which a message listener is set.
Field Summary | |
---|---|
private int |
msgCount
|
private java.lang.String[] |
msgIdsToAck
|
private boolean |
queueMode
true if the request is destinated to a queue. |
private java.lang.String |
selector
Selector for filtering messages on a queue. |
private static long |
serialVersionUID
define serialVersionUID for interoperability |
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
---|
requestId, target |
Constructor Summary | |
---|---|
ConsumerSetListRequest()
Constructs a ConsumerSetListRequest . |
|
ConsumerSetListRequest(java.lang.String targetName,
java.lang.String selector,
boolean queueMode,
java.lang.String[] msgIdsToAck,
int msgCount)
Constructs a ConsumerSetListRequest . |
Method Summary | |
---|---|
protected int |
getClassId()
|
int |
getMessageCount()
|
java.lang.String[] |
getMessageIdsToAck()
|
boolean |
getQueueMode()
Returns true if the request is destinated to a queue. |
java.lang.String |
getSelector()
Returns the selector for filtering messages. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
setQueueMode(boolean queueMode)
Sets the target destination type. |
void |
setSelector(java.lang.String selector)
Sets the selector. |
void |
toString(java.lang.StringBuffer strbuf)
|
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
---|
getRequestId, getTarget, setRequestId, setTarget, toString |
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsMessage |
---|
read, readExternal, soapCode, soapDecode, write, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private java.lang.String selector
private boolean queueMode
true
if the request is destinated to a queue.
private java.lang.String[] msgIdsToAck
private int msgCount
Constructor Detail |
---|
public ConsumerSetListRequest(java.lang.String targetName, java.lang.String selector, boolean queueMode, java.lang.String[] msgIdsToAck, int msgCount)
ConsumerSetListRequest
.
targetName
- Name of the target queue or subscription.selector
- Selector for filtering messages.queueMode
- true
if this request is destinated to a
queue.public ConsumerSetListRequest()
ConsumerSetListRequest
.
Method Detail |
---|
public void setSelector(java.lang.String selector)
public java.lang.String getSelector()
public void setQueueMode(boolean queueMode)
public boolean getQueueMode()
true
if the request is destinated to a queue.
public final java.lang.String[] getMessageIdsToAck()
public final int getMessageCount()
protected int getClassId()
getClassId
in class AbstractJmsMessage
public void toString(java.lang.StringBuffer strbuf)
toString
in class AbstractJmsRequest
public void writeTo(java.io.OutputStream os) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class AbstractJmsRequest
os
- the stream to write the object to
java.io.IOException
public void readFrom(java.io.InputStream is) throws java.io.IOException
readFrom
in interface Streamable
readFrom
in class AbstractJmsRequest
is
- the stream to read data from in order to restore the object
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |