All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcSearchResultDone

java.lang.Object
  extended by com.novell.ldap.asn1.ASN1Object
      extended by com.novell.ldap.asn1.ASN1Structured
          extended by com.novell.ldap.asn1.ASN1Sequence
              extended by com.novell.ldap.rfc2251.RfcLDAPResult
                  extended by com.novell.ldap.rfc2251.RfcSearchResultDone
All Implemented Interfaces:
RfcResponse, java.io.Serializable

public class RfcSearchResultDone
extends RfcLDAPResult

Represents an LDAP Search Result Done Response.

       SearchResultDone ::= [APPLICATION 5] LDAPResult

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.novell.ldap.rfc2251.RfcLDAPResult
REFERRAL
 
Fields inherited from class com.novell.ldap.asn1.ASN1Sequence
TAG
 
Constructor Summary
RfcSearchResultDone(ASN1Decoder dec, java.io.InputStream in, int len)
          Decode a search result done from the input stream.
RfcSearchResultDone(ASN1Enumerated resultCode, RfcLDAPDN matchedDN, RfcLDAPString errorMessage, RfcReferral referral)
          Constructs an RfcSearchResultDone from parameters.
 
Method Summary
 ASN1Identifier getIdentifier()
          Override getIdentifier to return an application-wide id.
 
Methods inherited from class com.novell.ldap.rfc2251.RfcLDAPResult
getErrorMessage, getMatchedDN, getReferral, getResultCode
 
Methods inherited from class com.novell.ldap.asn1.ASN1Sequence
toString
 
Methods inherited from class com.novell.ldap.asn1.ASN1Structured
add, decodeStructured, encode, get, set, size, toArray, toString
 
Methods inherited from class com.novell.ldap.asn1.ASN1Object
getEncoding, setIdentifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RfcSearchResultDone

public RfcSearchResultDone(ASN1Decoder dec,
                           java.io.InputStream in,
                           int len)
                    throws java.io.IOException
Decode a search result done from the input stream.

Throws:
java.io.IOException

RfcSearchResultDone

public RfcSearchResultDone(ASN1Enumerated resultCode,
                           RfcLDAPDN matchedDN,
                           RfcLDAPString errorMessage,
                           RfcReferral referral)
Constructs an RfcSearchResultDone from parameters.

Parameters:
resultCode - the result code of the operation
matchedDN - the matched DN returned from the server
errorMessage - the diagnostic message returned from the server
referral - the referral(s) returned by the server
Method Detail

getIdentifier

public final ASN1Identifier getIdentifier()
Override getIdentifier to return an application-wide id.

Overrides:
getIdentifier in class ASN1Object

All LDAP Classes
Internal LDAP Classes

Copyright ? 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000