Joram 4.3.18

org.objectweb.joram.mom.notifications
Class SetThreshRequest

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

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
detachable, detached, 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, getPersistent, setPersistent, toString
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getExpiration, getMessageId, isPersistent, setContext, setExpiration
 
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.


Joram 4.3.18

Copyright © 2005 Scalagent - All rights reserved