org.objectweb.joram.shared.admin
Class SetDefaultThreshold

java.lang.Object
  extended byorg.objectweb.joram.shared.admin.AdminRequest
      extended byorg.objectweb.joram.shared.admin.SetDefaultThreshold
All Implemented Interfaces:
java.io.Serializable

public class SetDefaultThreshold
extends AdminRequest

A SetDefaultThreshold instance requests to set a given threshold value as the default threshold for a given server.

See Also:
Serialized Form

Constructor Summary
SetDefaultThreshold(int serverId, int threshold)
          Constructs a SetDefaultThreshold instance.
 
Method Summary
 int getServerId()
          Returns the identifier of the server the threshold is set for.
 int getThreshold()
          Returns the threshold value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetDefaultThreshold

public SetDefaultThreshold(int serverId,
                           int threshold)
Constructs a SetDefaultThreshold instance.

Parameters:
serverId - Identifier of the server the threshold is set for.
threshold - Threshold value.
Method Detail

getServerId

public int getServerId()
Returns the identifier of the server the threshold is set for.


getThreshold

public int getThreshold()
Returns the threshold value.



Copyright ? 2004 Scalagent - All rights reserved