org.objectweb.joram.shared.admin

Class SetDefaultThreshold

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.

Constructor Details

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 Details

getServerId

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


getThreshold

public int getThreshold()
Returns the threshold value.


Copyright B) 2004 Scalagent - All rights reserved