|
Joram 5.0.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.SessDenyRequest
public final class SessDenyRequest
A SessDenyRequest
instance is used by a Session
for denying the messages it consumed.
Field Summary |
---|
Fields inherited from class org.objectweb.joram.shared.client.AbstractJmsRequest |
---|
requestId, target |
Constructor Summary | |
---|---|
SessDenyRequest()
Public no-arg constructor needed by Externalizable. |
|
SessDenyRequest(java.lang.String targetName,
java.util.Vector ids,
boolean queueMode)
Constructs a SessDenyRequest instance. |
|
SessDenyRequest(java.lang.String targetName,
java.util.Vector ids,
boolean queueMode,
boolean doNotAck)
Constructs a SessDenyRequest instance. |
Method Summary | |
---|---|
void |
addId(java.lang.String id)
|
protected int |
getClassId()
|
boolean |
getDoNotAck()
Returns true if the request must not be acked by the
server. |
java.util.Vector |
getIds()
Returns the vector of denyed messages identifiers. |
boolean |
getQueueMode()
Returns true if the request is destinated to a queue. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
setDoNotAck(boolean doNotAck)
Sets the server ack policy. |
void |
setIds(java.util.Vector ids)
Sets the vector of identifiers. |
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 SessDenyRequest(java.lang.String targetName, java.util.Vector ids, boolean queueMode)
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.public SessDenyRequest(java.lang.String targetName, java.util.Vector ids, boolean queueMode, boolean doNotAck)
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.public SessDenyRequest()
Method Detail |
---|
public void setIds(java.util.Vector ids)
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 destinated to a queue.
public void setDoNotAck(boolean doNotAck)
public boolean getDoNotAck()
true
if the request must not be acked by the
server.
protected int getClassId()
getClassId
in class AbstractJmsMessage
public void writeTo(java.io.OutputStream os) throws java.io.IOException
writeTo
in interface Streamable
writeTo
in class AbstractJmsRequest
os
- the stream to write the object to
java.io.IOException
public void readFrom(java.io.InputStream is) throws java.io.IOException
readFrom
in interface Streamable
readFrom
in class AbstractJmsRequest
is
- the stream to read data from in order to restore the object
java.io.IOException
|
Joram 5.0.6 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |