Package org.ldaptive.extended
Class UnsolicitedNotification
java.lang.Object
org.ldaptive.AbstractMessage
org.ldaptive.AbstractResult
org.ldaptive.extended.ExtendedResponse
org.ldaptive.extended.UnsolicitedNotification
- Direct Known Subclasses:
NoticeOfDisconnection
LDAP unsolicited notification defined as:
ExtendedResponse ::= [APPLICATION 24] SEQUENCE { COMPONENTS OF LDAPResult, responseName [10] LDAPOID OPTIONAL, responseValue [11] OCTET STRING OPTIONAL }where the messageID is always zero.
-
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
FieldsFields inherited from class org.ldaptive.extended.ExtendedResponse
PROTOCOL_OP
Fields inherited from interface org.ldaptive.Result
ENCODE_CNTRL_CHARS
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.UnsolicitedNotification
(DERBuffer buffer) Creates a new unsolicited notification. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a builder for this class.boolean
int
hashCode()
Returns the hash code for this object.void
setMessageID
(int id) 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
-
HASH_CODE_SEED
private static final int HASH_CODE_SEEDhash code seed.- See Also:
-
-
Constructor Details
-
UnsolicitedNotification
public UnsolicitedNotification()Default constructor. -
UnsolicitedNotification
Creates a new unsolicited notification.- Parameters:
buffer
- to decode
-
-
Method Details
-
setMessageID
public void setMessageID(int id) - Overrides:
setMessageID
in classAbstractMessage
-
equals
- Overrides:
equals
in classExtendedResponse
-
hashCode
public int hashCode()Description copied from class:AbstractMessage
Returns the hash code for this object.- Overrides:
hashCode
in classExtendedResponse
- Returns:
- hash code
-
builder
Creates a builder for this class.- Returns:
- new builder
-