com.unboundid.ldap.protocol
Class CompareResponseProtocolOp

java.lang.Object
  extended by com.unboundid.ldap.protocol.GenericResponseProtocolOp
      extended by com.unboundid.ldap.protocol.CompareResponseProtocolOp
All Implemented Interfaces:
ProtocolOp, java.io.Serializable

@InternalUseOnly
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class CompareResponseProtocolOp
extends GenericResponseProtocolOp

This class provides an implementation of a compare response protocol op.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.unboundid.ldap.protocol.GenericResponseProtocolOp
TYPE_REFERRALS
 
Constructor Summary
CompareResponseProtocolOp(int resultCode, java.lang.String matchedDN, java.lang.String diagnosticMessage, java.util.List<java.lang.String> referralURLs)
          Creates a new instance of this compare response protocol op with the provided information.
 
Method Summary
 
Methods inherited from class com.unboundid.ldap.protocol.GenericResponseProtocolOp
getDiagnosticMessage, getMatchedDN, getProtocolOpType, getReferralURLs, getResultCode, toString, toString, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CompareResponseProtocolOp

public CompareResponseProtocolOp(int resultCode,
                                 java.lang.String matchedDN,
                                 java.lang.String diagnosticMessage,
                                 java.util.List<java.lang.String> referralURLs)
Creates a new instance of this compare response protocol op with the provided information.

Parameters:
resultCode - The result code for this response.
matchedDN - The matched DN for this response, if available.
diagnosticMessage - The diagnostic message for this response, if any.
referralURLs - The list of referral URLs for this response, if any.