org.objectweb.joram.shared.client
Class SessAckRequest
- java.io.Serializable
public class SessAckRequest
A SessAckRequest
instance is used by a Session
for acknowledging the messages it consumed.
- Serialized Form
SessAckRequest() - Constructs a
SessAckRequest instance.
|
SessAckRequest(String targetName, Vector ids, boolean queueMode) - Constructs a
SessAckRequest instance.
|
void | addId(String id)
|
Vector | getIds() - Returns the vector of acknowledged messages identifiers.
|
boolean | getQueueMode() - Returns
true if the request is destinated to a queue.
|
void | setIds(Vector ids) - Sets the vector of identifiers.
|
void | setQueueMode(boolean queueMode) - Sets the target destination type.
|
Hashtable | soapCode()
|
static Object | soapDecode(Hashtable h)
|
SessAckRequest
public SessAckRequest()
Constructs a SessAckRequest
instance.
SessAckRequest
public SessAckRequest(String targetName,
Vector ids,
boolean queueMode)
Constructs a SessAckRequest
instance.
targetName
- Name of the target queue or subscription.ids
- Vector of acknowledged message identifiers.queueMode
- true
if this request is destinated to a
queue.
addId
public void addId(String id)
getIds
public Vector getIds()
Returns the vector of acknowledged messages identifiers.
getQueueMode
public boolean getQueueMode()
Returns true
if the request is destinated to a queue.
setIds
public void setIds(Vector ids)
Sets the vector of identifiers.
setQueueMode
public void setQueueMode(boolean queueMode)
Sets the target destination type.
soapDecode
public static Object soapDecode(Hashtable h)
- soapDecode in interface AbstractJmsRequest
Copyright B) 2004 Scalagent - All rights reserved