C# Class Novell.Directory.Ldap.LdapMessage

The base class for Ldap request and response messages. Subclassed by response messages used in asynchronous operations.
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Protected Properties

Property Type Description
message Novell.Directory.Ldap.Rfc2251.RfcLdapMessage

Private Properties

Property Type Description
Clone LdapMessage
LdapMessage System
LdapMessage System
controlFactory LdapControl

Public Methods

Method Description
ToString ( ) : System.String

Creates a String representation of this object

Protected Methods

Method Description
LdapMessage ( RfcLdapMessage message ) : System

Creates an Rfc 2251 LdapMessage when the libraries receive a response from a command.

Private Methods

Method Description
Clone ( System dn, System filter, bool reference ) : LdapMessage

Returns a mutated clone of this LdapMessage, replacing base dn, filter.

LdapMessage ( ) : System

Dummy constuctor

LdapMessage ( int type, RfcRequest op, LdapControl controls ) : System

Creates an LdapMessage when sending a protocol operation and sends some optional controls with the message.

controlFactory ( System oid, bool critical, sbyte value_Renamed ) : LdapControl

Instantiates an LdapControl. We search through our list of registered controls. If we find a matchiing OID we instantiate that control by calling its contructor. Otherwise we default to returning a regular LdapControl object

Method Details

LdapMessage() protected method

Creates an Rfc 2251 LdapMessage when the libraries receive a response from a command.
protected LdapMessage ( RfcLdapMessage message ) : System
message Novell.Directory.Ldap.Rfc2251.RfcLdapMessage A response message. ///
return System

ToString() public method

Creates a String representation of this object
public ToString ( ) : System.String
return System.String

Property Details

message protected_oe property

A request or response message for an asynchronous Ldap operation.
protected RfcLdapMessage,Novell.Directory.Ldap.Rfc2251 message
return Novell.Directory.Ldap.Rfc2251.RfcLdapMessage