public abstract class GracefulAction
extends org.apache.directory.api.asn1.AbstractAsn1Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
delay
Delay before disconnection
|
static int |
NOW
The shutdown is immediate
|
protected int |
timeOffline
offline Time after disconnection
|
static int |
UNDETERMINED
Undetermined value used for timeOffline
|
| Constructor and Description |
|---|
GracefulAction()
Default constructor.
|
GracefulAction(int timeOffline,
int delay)
Create a GracefulAction object, with a timeOffline and a delay
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay() |
int |
getTimeOffline() |
void |
setDelay(int delay) |
void |
setTimeOffline(int timeOffline) |
addLength, encode, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParentpublic static final int UNDETERMINED
public static final int NOW
protected int timeOffline
protected int delay
public GracefulAction()
public GracefulAction(int timeOffline,
int delay)
timeOffline - The time the server will be offlinedelay - The delay before the disconnectionCopyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.