Joram ${version}

org.objectweb.joram.shared.client
Class ConsumerAckRequest

java.lang.Object
  extended byorg.objectweb.joram.shared.client.AbstractJmsRequest
      extended byorg.objectweb.joram.shared.client.ConsumerAckRequest
All Implemented Interfaces:
java.io.Serializable

public class ConsumerAckRequest
extends AbstractJmsRequest

A ConsumerAckRequest instance is used by a MessageConsumer for acknowledging a received message.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest
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.
 java.util.Vector getIds()
          Returns the acknowledged message identifier.
 boolean getQueueMode()
          Returns true if the request is destinated to a queue.
 void setQueueMode(boolean queueMode)
          Sets the target destination type.
 java.util.Hashtable soapCode()
           
static java.lang.Object soapDecode(java.util.Hashtable h)
           
 
Methods inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest
getKey, getRequestId, getTarget, setRequestId, setTarget, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConsumerAckRequest

public ConsumerAckRequest(java.lang.String targetName,
                          boolean queueMode)
Constructs a ConsumerAckRequest instance.

Parameters:
targetName - Name of the target queue or subscription.
queueMode - true if this request is destinated to a queue.

ConsumerAckRequest

public ConsumerAckRequest()
Constructs a ConsumerAckRequest instance.

Method Detail

addId

public void addId(java.lang.String id)
Sets the acknowledged message identifier.


setQueueMode

public void setQueueMode(boolean queueMode)
Sets the target destination type.


getIds

public java.util.Vector getIds()
Returns the acknowledged message identifier.


getQueueMode

public boolean getQueueMode()
Returns true if the request is destinated to a queue.


soapCode

public java.util.Hashtable soapCode()
Overrides:
soapCode in class AbstractJmsRequest

soapDecode

public static java.lang.Object soapDecode(java.util.Hashtable h)

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved