public class GracefulDisconnect extends ExtendedResponseImpl
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 |
oid, valueTYPE| Constructor and Description |
|---|
GracefulDisconnect(byte[] value) |
GracefulDisconnect(int timeOffline,
int delay) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay() |
InternalReferral |
getReplicatedContexts() |
byte[] |
getResponse()
Gets the reponse OID specific encoded response values.
|
String |
getResponseName()
Gets the OID uniquely identifying this extended response (a.k.a.
|
int |
getTimeOffline() |
void |
setDelay(int delay) |
void |
setResponse(byte[] value)
Sets the reponse OID specific encoded response values.
|
void |
setResponseName(String oid)
Sets the OID uniquely identifying this extended response (a.k.a.
|
void |
setTimeOffline(int timeOffline) |
equals, getEncodedValue, getID, setOidgetLdapResult, toStringadd, addAll, get, getControls, getMessageId, getType, hasControl, hashCode, put, removeclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLdapResultadd, addAll, get, getControls, getMessageId, getType, hasControl, put, removepublic static final String EXTENSION_OID
public GracefulDisconnect(byte[] value)
throws DecoderException
DecoderExceptionpublic GracefulDisconnect(int timeOffline,
int delay)
public byte[] getResponse()
getResponse in interface InternalExtendedResponsegetResponse in class ExtendedResponseImplpublic void setResponse(byte[] value)
setResponse in interface InternalExtendedResponsesetResponse in class ExtendedResponseImplvalue - the response specific encoded response values.public String getResponseName()
getResponseName in interface InternalExtendedResponsegetResponseName in class ExtendedResponseImplpublic void setResponseName(String oid)
setResponseName in interface InternalExtendedResponsesetResponseName in class ExtendedResponseImploid - the OID of the extended response type.public void setDelay(int delay)
public void setTimeOffline(int timeOffline)
public int getDelay()
public int getTimeOffline()
public InternalReferral getReplicatedContexts()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.