|
Joram 5.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.shared.admin.AbstractAdminMessage
org.objectweb.joram.shared.admin.AdminRequest
org.objectweb.joram.shared.admin.SetNbMaxMsg
public class SetNbMaxMsg
A SetNbMaxMsg
instance requests to set a
number max of message in Queue or Subscription.
Field Summary |
---|
Constructor Summary | |
---|---|
SetNbMaxMsg()
|
|
SetNbMaxMsg(java.lang.String id,
int nbMaxMsg)
Constructs a SetNbMaxMsg instance. |
|
SetNbMaxMsg(java.lang.String id,
int nbMaxMsg,
java.lang.String subName)
Constructs a SetNbMaxMsg instance. |
Method Summary | |
---|---|
protected int |
getClassId()
|
java.lang.String |
getId()
Returns the identifier of the queue or subscription. |
int |
getNbMaxMsg()
Returns the nbMaxMsg value. |
java.lang.String |
getSubName()
Returns SubName |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
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.admin.AbstractAdminMessage |
---|
read, readExternal, soapCode, soapDecode, write, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetNbMaxMsg(java.lang.String id, int nbMaxMsg)
SetNbMaxMsg
instance.
id
- Identifier of the queue or subscription.nbMaxMsg
- nb Max of Message (-1 no limit).public SetNbMaxMsg()
public SetNbMaxMsg(java.lang.String id, int nbMaxMsg, java.lang.String subName)
SetNbMaxMsg
instance.
id
- Identifier of the queue or subscription.nbMaxMsg
- nb Max of Message (-1 no limit).subName
- Subscription name.Method Detail |
---|
public java.lang.String getId()
public int getNbMaxMsg()
public java.lang.String getSubName()
protected int getClassId()
getClassId
in class AdminRequest
public void readFrom(java.io.InputStream is) throws java.io.IOException
Streamable
is
- the stream to read data from in order to restore the object
java.io.IOException
public void writeTo(java.io.OutputStream os) throws java.io.IOException
Streamable
os
- the stream to write the object to
java.io.IOException
|
Joram 5.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |