org.objectweb.joram.mom.notifications
Class SetThreshRequest

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.SetThreshRequest
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class SetThreshRequest
extends AdminRequest

A SetThreshRequest instance is used by a client agent for notifying a queue of its threshold value.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.dyade.aaa.agent.Notification
persistent
 
Constructor Summary
SetThreshRequest(java.lang.String id, java.lang.Integer threshold)
          Constructs a SetThresholdRequest instance.
 
Method Summary
 java.lang.Integer getThreshold()
          Returns the threshold value, negative or zero for no threshold, null for unsetting the previous value.
 
Methods inherited from class org.objectweb.joram.mom.notifications.AdminRequest
getId
 
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
getClientContext, toString
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, setContext
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetThreshRequest

public SetThreshRequest(java.lang.String id,
                        java.lang.Integer threshold)
Constructs a SetThresholdRequest instance.

Parameters:
id - Identifier of the request, may be null.
threshold - Threshold value, negative or zero for no threshold, null for unsetting the previous value.
Method Detail

getThreshold

public java.lang.Integer getThreshold()
Returns the threshold value, negative or zero for no threshold, null for unsetting the previous value.



Copyright ? 2004 Scalagent - All rights reserved