org.objectweb.joram.shared.client
Class SessDenyRequest
- java.io.Serializable
public class SessDenyRequest
A SessDenyRequest
instance is used by a Session
for denying the messages it consumed.
- Serialized Form
SessDenyRequest() - Constructs a
SessDenyRequest instance.
|
SessDenyRequest(String targetName, Vector ids, boolean queueMode) - Constructs a
SessDenyRequest instance.
|
SessDenyRequest(String targetName, Vector ids, boolean queueMode, boolean doNotAck) - Constructs a
SessDenyRequest instance.
|
void | addId(String id)
|
boolean | getDoNotAck() - Returns
true if the request must not be acked by the
server.
|
Vector | getIds() - Returns the vector of denyed messages identifiers.
|
boolean | getQueueMode() - Returns
true if the request is destinated to a queue.
|
void | setDoNotAck(boolean doNotAck) - Sets the server ack policy.
|
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)
|
SessDenyRequest
public SessDenyRequest()
Constructs a SessDenyRequest
instance.
SessDenyRequest
public SessDenyRequest(String targetName,
Vector ids,
boolean queueMode)
Constructs a SessDenyRequest
instance.
targetName
- Name of the target queue or subscription.ids
- Vector of denied message identifiers.queueMode
- true
if this request is destinated to a
queue.
SessDenyRequest
public SessDenyRequest(String targetName,
Vector ids,
boolean queueMode,
boolean doNotAck)
Constructs a SessDenyRequest
instance.
targetName
- Name of the target queue or subscription.ids
- Vector of denied message identifiers.queueMode
- true
if this request is destinated to a
queue.doNotAck
- true
if this request must not be acked by
the server.
addId
public void addId(String id)
getDoNotAck
public boolean getDoNotAck()
Returns true
if the request must not be acked by the
server.
getIds
public Vector getIds()
Returns the vector of denyed messages identifiers.
getQueueMode
public boolean getQueueMode()
Returns true
if the request is destinated to a queue.
setDoNotAck
public void setDoNotAck(boolean doNotAck)
Sets the server ack policy.
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