|
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.ConsumerAckRequest
public final class ConsumerAckRequest
A ConsumerAckRequest
instance is used by a
MessageConsumer
for acknowledging a received message.
Field Summary |
---|
Fields inherited from class org.objectweb.joram.kclient.AbstractRequest |
---|
requestId, target |
Constructor Summary | |
---|---|
ConsumerAckRequest(java.lang.String targetName,
boolean queueMode)
Constructs a ConsumerAckRequest instance. |
Method Summary | |
---|---|
void |
addId(java.lang.String id)
Sets the acknowledged message identifier. |
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 ConsumerAckRequest(java.lang.String targetName, boolean queueMode)
ConsumerAckRequest
instance.
targetName
- Name of the target queue or subscription.id
- The message identifier.queueMode
- true
if this request is destinated to
a queue.Method Detail |
---|
protected int getClassId()
getClassId
in class AbstractMessage
public void addId(java.lang.String id)
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 |