public class GracefulShutdownResponse extends ExtendedResponseImpl
GracefulShutdownRequest
extended operation is sent. Delivery of this response may block until all
connected clients are sent a GracefulDisconnect unsolicited notification.Modifier and Type | Field and Description |
---|---|
static String |
EXTENSION_OID |
oid, value
TYPE
Constructor and Description |
---|
GracefulShutdownResponse(int messageId) |
GracefulShutdownResponse(int messageId,
ResultCodeEnum rcode) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Checks to see if an object equals this ExtendedRequest.
|
byte[] |
getResponse()
Gets the reponse OID specific encoded response values.
|
String |
getResponseName()
Gets the OID uniquely identifying this extended response (a.k.a.
|
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.
|
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 GracefulShutdownResponse(int messageId, ResultCodeEnum rcode)
public GracefulShutdownResponse(int messageId)
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 boolean equals(Object obj)
ExtendedResponseImpl
equals
in class ExtendedResponseImpl
obj
- the object to be checked for equalityCopyright © 2003–2013 The Apache Software Foundation. All rights reserved.