|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GracefulDisconnectResponse
An unsolicited notification, extended response, intended for notifying
clients of upcoming disconnection due to intended service windows. Unlike the
NoticeOfDisconnect this response contains additional information about
the amount of time the server will be offline and exactly when it intends to
shutdown.
| Field Summary | |
|---|---|
static String |
EXTENSION_OID
The OID for the graceful disconnect extended operation response. |
| Fields inherited from interface org.apache.directory.shared.ldap.model.message.ExtendedResponse |
|---|
TYPE |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.apache.directory.shared.ldap.model.message.ExtendedResponse |
|---|
getResponseName, setResponseName |
| Methods inherited from interface org.apache.directory.shared.ldap.model.message.ResultResponse |
|---|
getLdapResult |
| Methods inherited from interface org.apache.directory.shared.ldap.model.message.Message |
|---|
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId |
| Field Detail |
|---|
static final String EXTENSION_OID
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||