public class GracefulShutdownResponseImpl extends AbstractExtendedResponse implements GracefulShutdownResponse
GracefulShutdownRequestImpl
extended operation is sent. Delivery of this response may block until all
connected clients are sent a GracefulDisconnect unsolicited notification.EXTENSION_OID
Constructor and Description |
---|
GracefulShutdownResponseImpl()
Instantiates a new graceful shutdown response.
|
GracefulShutdownResponseImpl(int messageId)
Instantiates a new graceful shutdown response.
|
GracefulShutdownResponseImpl(int messageId,
ResultCodeEnum rcode)
Instantiates a new graceful shutdown response.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Checks to see if an object equals this ExtendedRequest.
|
int |
hashCode() |
void |
setResponseName(String oid)
Sets the OID uniquely identifying this extended response (a.k.a. its
name).
|
getResponseName, toString
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
getResponseName
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
public GracefulShutdownResponseImpl(int messageId, ResultCodeEnum rcode)
messageId
- the message idrcode
- the result codepublic GracefulShutdownResponseImpl(int messageId)
messageId
- the message idpublic GracefulShutdownResponseImpl()
public void setResponseName(String oid)
setResponseName
in interface ExtendedResponse
setResponseName
in class AbstractExtendedResponse
oid
- the OID of the extended response type.public int hashCode()
hashCode
in class AbstractExtendedResponse
Object.hashCode()
public boolean equals(Object obj)
equals
in class AbstractExtendedResponse
obj
- the object to be checked for equalityCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.