//************************************************************************* // Constructors for SearchRequest //************************************************************************* /* * */ public RfcSearchRequest(RfcLdapDN baseObject, Asn1Enumerated scope, Asn1Enumerated derefAliases, Asn1Integer sizeLimit, Asn1Integer timeLimit, Asn1Boolean typesOnly, RfcFilter filter, RfcAttributeDescriptionList attributes):base(8) { add(baseObject); add(scope); add(derefAliases); add(sizeLimit); add(timeLimit); add(typesOnly); add(filter); add(attributes); return ; }
/// <summary> Constructs an RfcCompareResponse from parameters. /// /// </summary> /// <param name="resultCode">the result code of the operation /// /// </param> /// <param name="matchedDN">the matched DN returned from the server /// /// </param> /// <param name="errorMessage">the diagnostic message returned from the server /// /// </param> /// <param name="referral">the referral(s) returned by the server /// </param> public RfcCompareResponse(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral) : base(resultCode, matchedDN, errorMessage, referral) { return ; }
/// <summary> Constructs an RfcSearchResultDone from parameters. /// /// </summary> /// <param name="resultCode">the result code of the operation /// /// </param> /// <param name="matchedDN">the matched DN returned from the server /// /// </param> /// <param name="errorMessage">the diagnostic message returned from the server /// /// </param> /// <param name="referral">the referral(s) returned by the server /// </param> public RfcSearchResultDone(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral) : base(resultCode, matchedDN, errorMessage, referral) { return ; }
/// <summary> Constructs an RfcLdapResult from parameters /// /// </summary> /// <param name="resultCode">the result code of the operation /// /// </param> /// <param name="matchedDN">the matched DN returned from the server /// /// </param> /// <param name="errorMessage">the diagnostic message returned from the server /// /// </param> /// <param name="referral">the referral(s) returned by the server /// </param> public RfcLdapResult(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage, RfcReferral referral) : base(4) { add(resultCode); add(matchedDN); add(errorMessage); if (referral != null) add(referral); return ; }
//************************************************************************* // Constructors for RfcLdapResult //************************************************************************* /// <summary> Constructs an RfcLdapResult from parameters /// /// </summary> /// <param name="resultCode">the result code of the operation /// /// </param> /// <param name="matchedDN">the matched DN returned from the server /// /// </param> /// <param name="errorMessage">the diagnostic message returned from the server /// </param> public RfcLdapResult(Asn1Enumerated resultCode, RfcLdapDN matchedDN, RfcLdapString errorMessage) : this(resultCode, matchedDN, errorMessage, null) { return ; }