public class GracefulShutdownResponseImpl extends ExtendedResponseImpl 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
TYPE
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.
|
String |
getResponseName()
Gets the OID uniquely identifying this extended response (a.k.a.
|
int |
hashCode() |
void |
setResponseName(String oid)
Sets the OID uniquely identifying this extended response (a.k.a.
|
toString
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
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 String getResponseName()
getResponseName
in interface ExtendedResponse
getResponseName
in class ExtendedResponseImpl
public void setResponseName(String oid)
setResponseName
in interface ExtendedResponse
setResponseName
in class ExtendedResponseImpl
oid
- the OID of the extended response type.public int hashCode()
hashCode
in class ExtendedResponseImpl
Object.hashCode()
public boolean equals(Object obj)
equals
in class ExtendedResponseImpl
obj
- the object to be checked for equalityCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.