|
Joram 5.2.6 | ||||||||
| 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.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.shared.client.AbstractJmsRequest |
|---|
requestId, target |
| Constructor Summary | |
|---|---|
ConsumerAckRequest()
Constructs a ConsumerAckRequest instance. |
|
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()
|
java.util.Vector |
getIds()
Returns the acknowledged message identifier. |
boolean |
getQueueMode()
Returns true if the request is for a queue. |
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 |
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, 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 ConsumerAckRequest(java.lang.String targetName,
boolean queueMode)
ConsumerAckRequest instance.
targetName - Name of the target queue or subscription.queueMode - true if this request is for a queue.public ConsumerAckRequest()
ConsumerAckRequest instance.
| Method Detail |
|---|
public void addId(java.lang.String id)
public java.util.Vector getIds()
public void setQueueMode(boolean queueMode)
public boolean getQueueMode()
true if the request is for a queue.
protected int getClassId()
getClassId in class AbstractJmsMessage
public void writeTo(java.io.OutputStream os)
throws java.io.IOException
writeTo in interface StreamablewriteTo in class AbstractJmsRequestos - the stream to write the object to
java.io.IOException
public void readFrom(java.io.InputStream is)
throws java.io.IOException
readFrom in interface StreamablereadFrom in class AbstractJmsRequestis - the stream to read data from in order to restore the object
java.io.IOException
|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||