All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcAddResponse

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.RfcAddResponse
All Implemented Interfaces:
RfcResponse, java.io.Serializable

public class RfcAddResponse
extends RfcLDAPResult

Represents the LDAP Add Response.

       AddResponse ::= [APPLICATION 9] 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
RfcAddResponse(ASN1Decoder dec, java.io.InputStream in, int len)
          The only time a client will create a AddResponse is when it is decoding it from an InputStream
RfcAddResponse(ASN1Enumerated resultCode, RfcLDAPDN matchedDN, RfcLDAPString errorMessage, RfcReferral referral)
          Constructs an RfcAddResponse 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

RfcAddResponse

public RfcAddResponse(ASN1Decoder dec,
                      java.io.InputStream in,
                      int len)
               throws java.io.IOException
The only time a client will create a AddResponse is when it is decoding it from an InputStream

Throws:
java.io.IOException

RfcAddResponse

public RfcAddResponse(ASN1Enumerated resultCode,
                      RfcLDAPDN matchedDN,
                      RfcLDAPString errorMessage,
                      RfcReferral referral)
Constructs an RfcAddResponse 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