Package org.ldaptive.extended
Class NoticeOfDisconnection
java.lang.Object
org.ldaptive.AbstractMessage
org.ldaptive.AbstractResult
org.ldaptive.extended.ExtendedResponse
org.ldaptive.extended.UnsolicitedNotification
org.ldaptive.extended.NoticeOfDisconnection
LDAP notice of disconnection defined as:
ExtendedResponse ::= [APPLICATION 24] SEQUENCE { COMPONENTS OF LDAPResult, responseName [10] LDAPOID OPTIONAL, responseValue [11] OCTET STRING OPTIONAL }where the result code indicates the reason for disconnection and the response value is absent.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.ldaptive.extended.ExtendedResponse
ExtendedResponse.ResponseNameHandler, ExtendedResponse.ResponseValueHandler
Nested classes/interfaces inherited from class org.ldaptive.AbstractResult
AbstractResult.AbstractBuilder<B,
T extends AbstractResult>, AbstractResult.DiagnosticMessageHandler, AbstractResult.MatchedDNHandler, AbstractResult.ReferralHandler, AbstractResult.ResultCodeHandler Nested classes/interfaces inherited from class org.ldaptive.AbstractMessage
AbstractMessage.ControlParser, AbstractMessage.ControlsHandler, AbstractMessage.MessageIDHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
hash code seed.static final String
OID of this response.Fields inherited from class org.ldaptive.extended.ExtendedResponse
PROTOCOL_OP
Fields inherited from interface org.ldaptive.Result
ENCODE_CNTRL_CHARS
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.NoticeOfDisconnection
(DERBuffer buffer) Creates a new notice of disconnection. -
Method Summary
Methods inherited from class org.ldaptive.extended.UnsolicitedNotification
setMessageID
Methods inherited from class org.ldaptive.extended.ExtendedResponse
getResponseName, getResponseValue, setResponseName, setResponseValue, toString
Methods inherited from class org.ldaptive.AbstractResult
addReferralURLs, copyValues, getDiagnosticMessage, getMatchedDN, getReferralURLs, getResultCode, setDiagnosticMessage, setMatchedDN, setResultCode
Methods inherited from class org.ldaptive.AbstractMessage
addControls, copyValues, getControls, getMessageID
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.ldaptive.Message
getControl, getControls, getMessageID
Methods inherited from interface org.ldaptive.Result
getEncodedDiagnosticMessage, isSuccess
-
Field Details
-
OID
OID of this response.- See Also:
-
HASH_CODE_SEED
private static final int HASH_CODE_SEEDhash code seed.- See Also:
-
-
Constructor Details
-
NoticeOfDisconnection
public NoticeOfDisconnection()Default constructor. -
NoticeOfDisconnection
Creates a new notice of disconnection.- Parameters:
buffer
- to decode
-
-
Method Details
-
equals
- Overrides:
equals
in classUnsolicitedNotification
-
hashCode
public int hashCode()Description copied from class:AbstractMessage
Returns the hash code for this object.- Overrides:
hashCode
in classUnsolicitedNotification
- Returns:
- hash code
-
builder
Creates a builder for this class.- Returns:
- new builder
-