} // end of Constructor protected void Run() { while (isrunning) { LdapMessage response = null; try { while (isrunning && !searchqueue.isResponseReceived(messageid)) { Thread.Sleep(sleep_time); } if (isrunning) { response = searchqueue.getResponse(messageid); } if (response != null) { processmessage(response); } } catch (LdapException e) { m_objLdapEventSource.NotifyExceptionListeners(response, e); } } } // end of method run
} // end of Constructor protected void Run() { while (isrunning) { LdapMessage response = null; try { while ((isrunning) && (!searchqueue.isResponseReceived(messageid))) { try { Thread.Sleep(sleep_time); } catch (ThreadInterruptedException e) { LogManager.GetLogger(typeof(EventsGenerator)). DebugFormat("EventsGenerator::Run Got ThreadInterruptedException e = {0}", e); } } if (isrunning) { response = searchqueue.getResponse(messageid); } if (response != null) { processmessage(response); } } catch (LdapException e) { m_objLdapEventSource.NotifyExceptionListeners(response, e); } } } // end of method run