All LDAP Classes
Internal LDAP Classes

com.novell.ldap.rfc2251
Class RfcModifyResponse

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

public class RfcModifyResponse
extends RfcLDAPResult

Represents an LDAP Modify Response.

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

RfcModifyResponse

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

Throws:
java.io.IOException

RfcModifyResponse

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