org.objectweb.joram.shared.client.ConsumerDenyRequest Class Reference

Inherits org.objectweb.joram.shared.client.AbstractJmsRequest.

Inheritance diagram for org.objectweb.joram.shared.client.ConsumerDenyRequest:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.shared.client.ConsumerDenyRequest:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setId (String id)
String getId ()
void setQueueMode (boolean queueMode)
boolean getQueueMode ()
void setDoNotAck (boolean doNotAck)
boolean getDoNotAck ()
 ConsumerDenyRequest (String targetName, String id, boolean queueMode)
 ConsumerDenyRequest (String targetName, String id, boolean queueMode, boolean doNotAck)
 ConsumerDenyRequest ()
void writeTo (OutputStream os) throws IOException
void readFrom (InputStream is) throws IOException

Protected Member Functions

int getClassId ()

Detailed Description

A ConsumerDenyRequest instance is used by a MessageConsumer for denying a received message.

Definition at line 36 of file ConsumerDenyRequest.java.


Constructor & Destructor Documentation

org.objectweb.joram.shared.client.ConsumerDenyRequest.ConsumerDenyRequest ( String  targetName,
String  id,
boolean  queueMode 
)

Constructs a ConsumerDenyRequest instance.

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

Definition at line 94 of file ConsumerDenyRequest.java.

org.objectweb.joram.shared.client.ConsumerDenyRequest.ConsumerDenyRequest ( String  targetName,
String  id,
boolean  queueMode,
boolean  doNotAck 
)

Constructs a ConsumerDenyRequest instance.

Parameters:
targetName Name of the target queue or subscription.
id The message identifier.
queueMode true if this request is destinated to a queue.
doNotAck true if this request must not be acked by the server.

Definition at line 110 of file ConsumerDenyRequest.java.

org.objectweb.joram.shared.client.ConsumerDenyRequest.ConsumerDenyRequest (  ) 

Constructs a ConsumerDenyRequest instance.

Definition at line 121 of file ConsumerDenyRequest.java.


Member Function Documentation

void org.objectweb.joram.shared.client.ConsumerDenyRequest.setId ( String  id  ) 

Sets the denied message identifier.

Definition at line 44 of file ConsumerDenyRequest.java.

String org.objectweb.joram.shared.client.ConsumerDenyRequest.getId (  ) 

Returns the denied message identifier.

Definition at line 49 of file ConsumerDenyRequest.java.

void org.objectweb.joram.shared.client.ConsumerDenyRequest.setQueueMode ( boolean  queueMode  ) 

Sets the target destination type.

Definition at line 57 of file ConsumerDenyRequest.java.

boolean org.objectweb.joram.shared.client.ConsumerDenyRequest.getQueueMode (  ) 

Returns true if the request is destinated to a queue.

Definition at line 62 of file ConsumerDenyRequest.java.

void org.objectweb.joram.shared.client.ConsumerDenyRequest.setDoNotAck ( boolean  doNotAck  ) 

Sets the server ack policy.

Definition at line 70 of file ConsumerDenyRequest.java.

boolean org.objectweb.joram.shared.client.ConsumerDenyRequest.getDoNotAck (  ) 

Returns true if the request must not be acked by the server.

Definition at line 78 of file ConsumerDenyRequest.java.

void org.objectweb.joram.shared.client.ConsumerDenyRequest.writeTo ( OutputStream  os  )  throws IOException

The object implements the writeTo method to write its contents to the output stream.

Parameters:
os the stream to write the object to

Reimplemented from org.objectweb.joram.shared.client.AbstractJmsRequest.

Definition at line 133 of file ConsumerDenyRequest.java.

void org.objectweb.joram.shared.client.ConsumerDenyRequest.readFrom ( InputStream  is  )  throws IOException

The object implements the readFrom method to restore its contents from the input stream.

Parameters:
is the stream to read data from in order to restore the object

Reimplemented from org.objectweb.joram.shared.client.AbstractJmsRequest.

Definition at line 146 of file ConsumerDenyRequest.java.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:20:58 2008 for joram by  doxygen 1.5.0