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
-
public class NoticeOfDisconnection extends UnsolicitedNotification
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 Classes Modifier and Type Class Description static class
NoticeOfDisconnection.Builder
-
Nested 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
Fields Modifier and Type Field Description private static int
HASH_CODE_SEED
hash code seed.static String
OID
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
Constructors Constructor Description NoticeOfDisconnection()
Default constructor.NoticeOfDisconnection(DERBuffer buffer)
Creates a new notice of disconnection.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NoticeOfDisconnection.Builder
builder()
Creates a builder for this class.boolean
equals(Object o)
int
hashCode()
Returns the hash code for this object.-
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 Detail
-
OID
public static final String OID
OID of this response.- See Also:
- Constant Field Values
-
HASH_CODE_SEED
private static final int HASH_CODE_SEED
hash code seed.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NoticeOfDisconnection
public NoticeOfDisconnection()
Default constructor.
-
NoticeOfDisconnection
public NoticeOfDisconnection(DERBuffer buffer)
Creates a new notice of disconnection.- Parameters:
buffer
- to decode
-
-
Method Detail
-
equals
public boolean equals(Object o)
- 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
public static NoticeOfDisconnection.Builder builder()
Creates a builder for this class.- Returns:
- new builder
-
-