com.novell.ldap.rfc2251
Class RfcCompareResponse
java.lang.Object
com.novell.ldap.asn1.ASN1Object
com.novell.ldap.asn1.ASN1Structured
com.novell.ldap.asn1.ASN1Sequence
com.novell.ldap.rfc2251.RfcLDAPResult
com.novell.ldap.rfc2251.RfcCompareResponse
- All Implemented Interfaces:
- RfcResponse, java.io.Serializable
public class RfcCompareResponse
- extends RfcLDAPResult
Represents and LDAP Compare Response.
CompareResponse ::= [APPLICATION 15] LDAPResult
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RfcCompareResponse
public RfcCompareResponse(ASN1Decoder dec,
java.io.InputStream in,
int len)
throws java.io.IOException
- The only time a client will create a CompareResponse is when it is
decoding it from an InputStream
- Throws:
java.io.IOException
RfcCompareResponse
public RfcCompareResponse(ASN1Enumerated resultCode,
RfcLDAPDN matchedDN,
RfcLDAPString errorMessage,
RfcReferral referral)
- Constructs an RfcCompareResponse from parameters.
- Parameters:
resultCode
- the result code of the operationmatchedDN
- the matched DN returned from the servererrorMessage
- the diagnostic message returned from the serverreferral
- the referral(s) returned by the server
getIdentifier
public final ASN1Identifier getIdentifier()
- Override getIdentifier to return an application-wide id.
- Overrides:
getIdentifier
in class ASN1Object
Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000