static LdapConnection()
 {
     Hashtable table = new Hashtable();
     asyncResultTable = Hashtable.Synchronized(table);
     waitHandle = new ManualResetEvent(false);
     partialResultsProcessor = new LdapPartialResultsProcessor(waitHandle);
     retriever = new PartialResultsRetriever(waitHandle, partialResultsProcessor);
 }
Exemple #2
0
        static LdapConnection()
        {
            handleTable = new Hashtable();
            // initialize the lock
            objectLock = new Object();

            Hashtable tempAsyncTable = new Hashtable();
            s_asyncResultTable = Hashtable.Synchronized(tempAsyncTable);

            s_waitHandle = new ManualResetEvent(false);

            s_partialResultsProcessor = new LdapPartialResultsProcessor(s_waitHandle);

            s_retriever = new PartialResultsRetriever(s_waitHandle, s_partialResultsProcessor);
        }
Exemple #3
0
 internal LdapPartialResultsProcessor(ManualResetEvent eventHandle)
 {
     _workThreadWaitHandle = eventHandle;
     _ = new PartialResultsRetriever(eventHandle, this);
 }
Exemple #4
0
		static LdapConnection()
		{
			LdapConnection.handleTable = new Hashtable();
			LdapConnection.objectLock = new object();
			Hashtable hashtables = new Hashtable();
			LdapConnection.asyncResultTable = Hashtable.Synchronized(hashtables);
			LdapConnection.waitHandle = new ManualResetEvent(false);
			LdapConnection.partialResultsProcessor = new LdapPartialResultsProcessor(LdapConnection.waitHandle);
			LdapConnection.retriever = new PartialResultsRetriever(LdapConnection.waitHandle, LdapConnection.partialResultsProcessor);
		}