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, value
TYPE
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, setOid
getLdapResult, toString
add, addAll, get, getControls, getMessageId, getType, hasControl, hashCode, put, remove
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLdapResult
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
public static final String EXTENSION_OID
public GracefulDisconnect(byte[] value) throws DecoderException
DecoderException
public GracefulDisconnect(int timeOffline, int delay)
public byte[] getResponse()
getResponse
in interface InternalExtendedResponse
getResponse
in class ExtendedResponseImpl
public void setResponse(byte[] value)
setResponse
in interface InternalExtendedResponse
setResponse
in class ExtendedResponseImpl
value
- the response specific encoded response values.public String getResponseName()
getResponseName
in interface InternalExtendedResponse
getResponseName
in class ExtendedResponseImpl
public void setResponseName(String oid)
setResponseName
in interface InternalExtendedResponse
setResponseName
in class ExtendedResponseImpl
oid
- 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–2014 The Apache Software Foundation. All rights reserved.