C# Класс Novell.Directory.Ldap.Rfc2251.RfcLdapMessage

Represents an Ldap Message.
 LdapMessage ::= SEQUENCE { messageID       MessageID, protocolOp      CHOICE { bindRequest     BindRequest, bindResponse    BindResponse, unbindRequest   UnbindRequest, searchRequest   SearchRequest, searchResEntry  SearchResultEntry, searchResDone   SearchResultDone, searchResRef    SearchResultReference, modifyRequest   ModifyRequest, modifyResponse  ModifyResponse, addRequest      AddRequest, addResponse     AddResponse, delRequest      DelRequest, delResponse     DelResponse, modDNRequest    ModifyDNRequest, modDNResponse   ModifyDNResponse, compareRequest  CompareRequest, compareResponse CompareResponse, abandonRequest  AbandonRequest, extendedReq     ExtendedRequest, extendedResp    ExtendedResponse }, controls       [0] Controls OPTIONAL } 
Note: The creation of a MessageID should be hidden within the creation of an RfcLdapMessage. The MessageID needs to be in sequence, and has an upper and lower limit. There is never a case when a user should be able to specify the MessageID for an RfcLdapMessage. The MessageID() constructor should be package protected. (So the MessageID value isn't arbitrarily run up.)
Наследование: Novell.Directory.Ldap.Asn1.Asn1Sequence
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
RfcLdapMessage ( Asn1Sequence op ) : System

Create an RfcLdapMessage using the specified Ldap Response.

RfcLdapMessage ( Asn1Sequence op, RfcControls controls ) : System

Create an RfcLdapMessage response from input parameters.

RfcLdapMessage ( RfcRequest op ) : System

Create an RfcLdapMessage using the specified Ldap Request.

RfcLdapMessage ( RfcRequest op, RfcControls controls ) : System

Create an RfcLdapMessage request from input parameters.

dupMessage ( System dn, System filter, bool reference ) : Object

Duplicate this message, replacing base dn, filter, and scope if supplied

getRequest ( ) : RfcRequest

Returns the request associated with this RfcLdapMessage. Throws a class cast exception if the RfcLdapMessage is not a request.

isRequest ( ) : bool

Приватные методы

Метод Описание
RfcLdapMessage ( Asn1Decoder dec, System in_Renamed, int len ) : System
RfcLdapMessage ( Asn1Object origContent, RfcRequest origRequest, System dn, System filter, bool reference ) : System

Create an RfcLdapMessage by copying the content array

Описание методов

RfcLdapMessage() публичный Метод

Create an RfcLdapMessage using the specified Ldap Response.
public RfcLdapMessage ( Asn1Sequence op ) : System
op Novell.Directory.Ldap.Asn1.Asn1Sequence
Результат System

RfcLdapMessage() публичный Метод

Create an RfcLdapMessage response from input parameters.
public RfcLdapMessage ( Asn1Sequence op, RfcControls controls ) : System
op Novell.Directory.Ldap.Asn1.Asn1Sequence
controls RfcControls
Результат System

RfcLdapMessage() публичный Метод

Create an RfcLdapMessage using the specified Ldap Request.
public RfcLdapMessage ( RfcRequest op ) : System
op RfcRequest
Результат System

RfcLdapMessage() публичный Метод

Create an RfcLdapMessage request from input parameters.
public RfcLdapMessage ( RfcRequest op, RfcControls controls ) : System
op RfcRequest
controls RfcControls
Результат System

dupMessage() публичный Метод

Duplicate this message, replacing base dn, filter, and scope if supplied
public dupMessage ( System dn, System filter, bool reference ) : Object
dn System the base dn /// ///
filter System the filter /// ///
reference bool true if a search reference /// ///
Результат System.Object

getRequest() публичный Метод

Returns the request associated with this RfcLdapMessage. Throws a class cast exception if the RfcLdapMessage is not a request.
public getRequest ( ) : RfcRequest
Результат RfcRequest

isRequest() публичный Метод

public isRequest ( ) : bool
Результат bool