org.objectweb.joram.mom.notifications

Class SetThreshRequest

Implemented Interfaces:
Cloneable, Serializable

public class SetThreshRequest
extends AdminRequest

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

Field Summary

Fields inherited from class fr.dyade.aaa.agent.Notification

persistent

Constructor Summary

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

Method Summary

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, toString

Constructor Details

SetThreshRequest

public SetThreshRequest(String id,
                        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 Details

getThreshold

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


Copyright B) 2004 Scalagent - All rights reserved