public HTTPRequestQueueManager(HTTPRequestQueue Queue, ApplicationTypes.iRequestHandler Handler, PerformanceCounters PerformanceCounters) { _Queue = Queue; _RequestHandler = Handler; _PerformanceCounters = PerformanceCounters; _Queue.NewRequest += new EventHandler(_Queue_NewRequest); _Handlers = new List <System.Threading.Thread>(); _thrStats = new Dictionary <string, bool>(); _tmrMonitorHandlers = new System.Threading.Timer(_tmrMonitorHandlers_Tick); }
public static void SetPerformanceCountersReference(PerformanceCounters Reference) { _PerformanceCounters = Reference; }