|
Joram 5.3.0 | ||||||||
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.ConsumerUnsetListRequest
public final class ConsumerUnsetListRequest
A ConsumerUnsetListRequest
is sent by a
MessageConsumer
which listener is unset.
Field Summary |
---|
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
---|
requestId, target |
Constructor Summary | |
---|---|
ConsumerUnsetListRequest()
Constructs a ConsumerUnsetListRequest . |
|
ConsumerUnsetListRequest(boolean queueMode)
Constructs a ConsumerUnsetListRequest . |
Method Summary | |
---|---|
int |
getCancelledRequestId()
Returns the identifier of the last listener request, cancelled by this request, queue mode only. |
protected int |
getClassId()
|
boolean |
getQueueMode()
Returns true for a queue listener. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
setCancelledRequestId(int cancelledRequestId)
Sets the identifier of the last listener request, cancelled by this request, queue mode only. |
void |
setQueueMode(boolean queueMode)
Sets the listener mode (queue or topic listener). |
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 |
Constructor Detail |
---|
public ConsumerUnsetListRequest(boolean queueMode)
ConsumerUnsetListRequest
.
queueMode
- true
if the listener is listening to a
queue.public ConsumerUnsetListRequest()
ConsumerUnsetListRequest
.
Method Detail |
---|
public void setQueueMode(boolean queueMode)
public boolean getQueueMode()
true
for a queue listener.
public void setCancelledRequestId(int cancelledRequestId)
public int getCancelledRequestId()
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
|
Joram 5.3.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |