Joram 5.2.5

org.objectweb.joram.mom.notifications
Class SetNbMaxMsgRequest

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

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, getDeadNotificationAgentId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
 
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 5.2.5

Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved