Joram ${version}

org.objectweb.joram.mom.notifications
Class SetNbMaxMsgRequest

java.lang.Object
  extended byfr.dyade.aaa.agent.Notification
      extended byorg.objectweb.joram.mom.notifications.AbstractNotification
          extended byorg.objectweb.joram.mom.notifications.AdminRequest
              extended byorg.objectweb.joram.mom.notifications.SetNbMaxMsgRequest
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class SetNbMaxMsgRequest
extends AdminRequest

A SetNbMaxMsgRequest instance is used by a client agent for notifying a queue or subscribtion of its NbMaxMsg value.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
 
Constructor Summary
SetNbMaxMsgRequest(java.lang.String id, int nbMaxMsg, java.lang.String subName)
          Constructs a SetNbMaxMsgRequest instance.
 
Method Summary
 int getNbMaxMsg()
          Returns the nbMaxMsg value.
 java.lang.String getSubName()
          Returns SubName
 
Methods inherited from class org.objectweb.joram.mom.notifications.AdminRequest
getId
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
getClientContext, getPersistent, setPersistent, toString
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getMessageId, isPersistent, setContext
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetNbMaxMsgRequest

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

Parameters:
id - Identifier of the request, may be null.
nbMaxMsg - nb Max of Message (-1 no limit).
subName - Subscription name (not used for queue).
Method Detail

getNbMaxMsg

public int getNbMaxMsg()
Returns the nbMaxMsg value.


getSubName

public java.lang.String getSubName()
Returns SubName


Joram ${version}

Copyright © 2005 Scalagent - All rights reserved