org.objectweb.joram.shared.client
Class SessAckRequest

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

public class SessAckRequest
extends AbstractJmsRequest

A SessAckRequest instance is used by a Session for acknowledging the messages it consumed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest
target
 
Constructor Summary
SessAckRequest()
          Constructs a SessAckRequest instance.
SessAckRequest(java.lang.String targetName, java.util.Vector ids, boolean queueMode)
          Constructs a SessAckRequest instance.
 
Method Summary
 void addId(java.lang.String id)
           
 java.util.Vector getIds()
          Returns the vector of acknowledged messages identifiers.
 boolean getQueueMode()
          Returns true if the request is destinated to a queue.
 void setIds(java.util.Vector ids)
          Sets the vector of identifiers.
 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

SessAckRequest

public SessAckRequest(java.lang.String targetName,
                      java.util.Vector ids,
                      boolean queueMode)
Constructs a SessAckRequest instance.

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

SessAckRequest

public SessAckRequest()
Constructs a SessAckRequest instance.

Method Detail

setIds

public void setIds(java.util.Vector ids)
Sets the vector of identifiers.


addId

public void addId(java.lang.String id)

setQueueMode

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


getIds

public java.util.Vector getIds()
Returns the vector of acknowledged messages identifiers.


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)


Copyright ? 2004 Scalagent - All rights reserved