C# Class Novell.Directory.Ldap.LdapResponseQueue

A mechanism for processing asynchronous messages received from a server. It represents the message queue associated with a particular asynchronous Ldap operation or operations.
Inheritance: LdapMessageQueue
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
merge ( LdapMessageQueue queue2 ) : void

Merges two message queues. It appends the current and future contents from another queue to this one. After the operation, queue2.getMessageIDs() returns an empty array, and its outstanding responses have been removed and appended to this queue.

Private Methods

Method Description
LdapResponseQueue ( MessageAgent agent ) : System

Constructs a response queue using the specified message agent

Method Details

merge() public method

Merges two message queues. It appends the current and future contents from another queue to this one. After the operation, queue2.getMessageIDs() returns an empty array, and its outstanding responses have been removed and appended to this queue.
public merge ( LdapMessageQueue queue2 ) : void
queue2 LdapMessageQueue The queue that is merged from. Following /// the merge, this queue object will no /// longer receive any data, and calls made /// to its methods will fail with a RuntimeException. /// The queue can be reactivated by using it in an /// Ldap request, after which it will receive responses /// for that request.. ///
return void