コード例 #1
0
        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);
        }
コード例 #2
0
 public static void SetPerformanceCountersReference(PerformanceCounters Reference)
 {
     _PerformanceCounters = Reference;
 }