org.objectweb.joram.shared.admin.SetNbMaxMsg Class Reference

Inherits org.objectweb.joram.shared.admin.AdminRequest.

Inheritance diagram for org.objectweb.joram.shared.admin.SetNbMaxMsg:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.joram.shared.admin.SetNbMaxMsg:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SetNbMaxMsg (String id, int nbMaxMsg)
 SetNbMaxMsg ()
 SetNbMaxMsg (String id, int nbMaxMsg, String subName)
String getId ()
int getNbMaxMsg ()
String getSubName ()
void readFrom (InputStream is) throws IOException
void writeTo (OutputStream os) throws IOException

Protected Member Functions

int getClassId ()

Detailed Description

A SetNbMaxMsg instance requests to set a number max of message in Queue or Subscription.

Definition at line 35 of file SetNbMaxMsg.java.


Constructor & Destructor Documentation

org.objectweb.joram.shared.admin.SetNbMaxMsg.SetNbMaxMsg ( String  id,
int  nbMaxMsg 
)

Constructs a SetNbMaxMsg instance.

Parameters:
id Identifier of the queue or subscription.
nbMaxMsg nb Max of Message (-1 no limit).

Definition at line 51 of file SetNbMaxMsg.java.

org.objectweb.joram.shared.admin.SetNbMaxMsg.SetNbMaxMsg ( String  id,
int  nbMaxMsg,
String  subName 
)

Constructs a SetNbMaxMsg instance.

Parameters:
id Identifier of the queue or subscription.
nbMaxMsg nb Max of Message (-1 no limit).
subName Subscription name.

Definition at line 65 of file SetNbMaxMsg.java.


Member Function Documentation

String org.objectweb.joram.shared.admin.SetNbMaxMsg.getId (  ) 

Returns the identifier of the queue or subscription.

Definition at line 74 of file SetNbMaxMsg.java.

int org.objectweb.joram.shared.admin.SetNbMaxMsg.getNbMaxMsg (  ) 

Returns the nbMaxMsg value.

Definition at line 79 of file SetNbMaxMsg.java.

String org.objectweb.joram.shared.admin.SetNbMaxMsg.getSubName (  ) 

Returns SubName

Definition at line 84 of file SetNbMaxMsg.java.

void org.objectweb.joram.shared.admin.SetNbMaxMsg.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

Implements org.objectweb.joram.shared.stream.Streamable.

Definition at line 92 of file SetNbMaxMsg.java.

void org.objectweb.joram.shared.admin.SetNbMaxMsg.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

Implements org.objectweb.joram.shared.stream.Streamable.

Definition at line 98 of file SetNbMaxMsg.java.


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