|
Joram 5.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.joram.shared.admin.AbstractAdminMessage
org.objectweb.joram.shared.admin.AdminRequest
org.objectweb.joram.shared.admin.SetDefaultThreshold
public class SetDefaultThreshold
A SetDefaultThreshold instance requests to set a given
threshold value as the default threshold for a given server.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
SetDefaultThreshold()
|
|
SetDefaultThreshold(int serverId,
int threshold)
Constructs a SetDefaultThreshold instance. |
|
| Method Summary | |
|---|---|
protected int |
getClassId()
|
int |
getServerId()
Returns the identifier of the server the threshold is set for. |
int |
getThreshold()
Returns the threshold value. |
void |
readFrom(java.io.InputStream is)
The object implements the readFrom method to restore its contents from the input stream. |
void |
writeTo(java.io.OutputStream os)
The object implements the writeTo method to write its contents to the output stream. |
| Methods inherited from class org.objectweb.joram.shared.admin.AbstractAdminMessage |
|---|
read, readExternal, soapCode, soapDecode, write, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetDefaultThreshold(int serverId,
int threshold)
SetDefaultThreshold instance.
serverId - Identifier of the server the threshold is set for.threshold - Threshold value.public SetDefaultThreshold()
| Method Detail |
|---|
public int getServerId()
public int getThreshold()
protected int getClassId()
getClassId in class AdminRequest
public void readFrom(java.io.InputStream is)
throws java.io.IOException
Streamable
is - the stream to read data from in order to restore the object
java.io.IOException
public void writeTo(java.io.OutputStream os)
throws java.io.IOException
Streamable
os - the stream to write the object to
java.io.IOException
|
Joram 5.1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||