|
Joram 5.0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.kclient.AbstractMessage
org.objectweb.joram.kclient.AbstractRequest
org.objectweb.joram.kclient.ConsumerReceiveRequest
public final class ConsumerReceiveRequest
A ConsumerReceiveRequest
is sent by a
MessageConsumer
when requesting a message.
Field Summary |
---|
Fields inherited from class org.objectweb.joram.kclient.AbstractRequest |
---|
requestId, target |
Constructor Summary | |
---|---|
ConsumerReceiveRequest(java.lang.String targetName,
java.lang.String selector,
long timeToLive,
boolean queueMode)
Constructs a ConsumerReceiveRequest . |
Method Summary | |
---|---|
protected int |
getClassId()
|
void |
writeTo(OutputXStream os)
The object implements the writeTo method to write its contents to the output stream. |
Methods inherited from class org.objectweb.joram.kclient.AbstractRequest |
---|
getRequestId, readFrom, setRequestId, toString |
Methods inherited from class org.objectweb.joram.kclient.AbstractMessage |
---|
read, toString, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConsumerReceiveRequest(java.lang.String targetName, java.lang.String selector, long timeToLive, boolean queueMode)
ConsumerReceiveRequest
.
targetName
- Name of the target queue or subscription.selector
- The selector for filtering messages, if any.timeToLive
- Time to live value in milliseconds, negative for
infinite.queueMode
- true
if this request is destinated to a
queue.Method Detail |
---|
protected int getClassId()
getClassId
in class AbstractMessage
public void writeTo(OutputXStream os) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class AbstractRequest
os
- the stream to write the object to
java.io.IOException
|
Joram 5.0.7 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |