public class GracefulShutdown extends GracefulAction
GracefulShutdown ::= SEQUENCE
{
timeOffline INTEGER (0..720) DEFAULT 0,
delay [0] INTEGER (0..86400) DEFAULT 0,
}
delay, NOW, timeOffline, UNDETERMINED| Constructor and Description |
|---|
GracefulShutdown()
Creates a new instance of GracefulShutdown.
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the GracefulShutdown length
0x30 L1
|
+--> [0x02 0x0(1-4) [0..720] ]
+--> [0x80 0x0(1-3) [0..86400] ]
L1 will always be < 11.
|
ByteBuffer |
encode()
Encodes the gracefulShutdown extended operation.
|
String |
toString()
Return a string representation of the graceful shutdown
|
getDelay, getTimeOffline, setDelay, setTimeOfflinepublic GracefulShutdown()
public int computeLength()
public ByteBuffer encode() throws org.apache.directory.api.asn1.EncoderException
org.apache.directory.api.asn1.EncoderException - If anything goes wrong.Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.