Joram ${version}

org.objectweb.joram.shared.admin
Class SetNbMaxMsg

java.lang.Object
  extended byorg.objectweb.joram.shared.admin.AdminRequest
      extended byorg.objectweb.joram.shared.admin.SetNbMaxMsg
All Implemented Interfaces:
java.io.Serializable

public class SetNbMaxMsg
extends AdminRequest

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

See Also:
Serialized Form

Constructor Summary
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
 java.lang.String getId()
          Returns the identifier of the queue or subscription.
 int getNbMaxMsg()
          Returns the nbMaxMsg value.
 java.lang.String getSubName()
          Returns SubName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetNbMaxMsg

public SetNbMaxMsg(java.lang.String id,
                   int nbMaxMsg)
Constructs a SetNbMaxMsg instance.

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

SetNbMaxMsg

public SetNbMaxMsg(java.lang.String id,
                   int nbMaxMsg,
                   java.lang.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.
Method Detail

getId

public java.lang.String getId()
Returns the identifier of the queue or subscription.


getNbMaxMsg

public int getNbMaxMsg()
Returns the nbMaxMsg value.


getSubName

public java.lang.String getSubName()
Returns SubName


Joram ${version}

Copyright © 2005 Scalagent - All rights reserved