org.objectweb.joram.mom.notifications
Class SetNbMaxMsgRequest
java.lang.Object
fr.dyade.aaa.agent.Notification
org.objectweb.joram.mom.notifications.AbstractNotification
org.objectweb.joram.mom.notifications.AdminRequest
org.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
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 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 |
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).
getNbMaxMsg
public int getNbMaxMsg()
- Returns the nbMaxMsg value.
getSubName
public java.lang.String getSubName()
- Returns SubName
Copyright © 2005 Scalagent - All rights reserved