public interface GracefulDisconnectResponse extends ExtendedResponse
NoticeOfDisconnect
this response contains additional information about
the amount of time the server will be offline and exactly when it intends to
shutdown.Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION_OID
The OID for the graceful disconnect extended operation response.
|
TYPE
Modifier and Type | Method and Description |
---|---|
int |
getDelay()
Gets the delay before disconnection, in seconds.
|
Referral |
getReplicatedContexts()
Gets the replicated contexts.
|
int |
getTimeOffline()
Gets the offline time after disconnection, in minutes.
|
void |
setDelay(int delay)
Sets the delay befor disconnection, in seconds.
|
void |
setTimeOffline(int timeOffline)
Sets the time offline after disconnection, in minutes.
|
getResponseName, setResponseName
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
static final String EXTENSION_OID
int getDelay()
void setDelay(int delay)
delay
- the new delay before disconnectionint getTimeOffline()
void setTimeOffline(int timeOffline)
timeOffline
- the new time offline after disconnectionReferral getReplicatedContexts()
Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.