All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcModifyDNResponse

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

public class RfcModifyDNResponse
extends RfcLDAPResult

Represents an LDAP Modify DN Request.

       ModifyDNResponse ::= [APPLICATION 13] 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
RfcModifyDNResponse(ASN1Decoder dec, java.io.InputStream in, int len)
          Create a ModifyDNResponse by decoding it from an InputStream
RfcModifyDNResponse(ASN1Enumerated resultCode, RfcLDAPDN matchedDN, RfcLDAPString errorMessage, RfcReferral referral)
          Constructs an RfcModifyDNResponse 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

RfcModifyDNResponse

public RfcModifyDNResponse(ASN1Decoder dec,
                           java.io.InputStream in,
                           int len)
                    throws java.io.IOException
Create a ModifyDNResponse by decoding it from an InputStream

Throws:
java.io.IOException

RfcModifyDNResponse

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