Пример #1
0
 public Dispatcher(string aName, MyQueue <EventItem> inQueue, MyQueue <EventItem>[] outQueue) : base(aName, inQueue)
 {
     this.outQueue = outQueue;
     numQueue      = outQueue.Length;
 }
Пример #2
0
 public FileReader(string aName, MyQueue <FileItem> inQueue, MyQueue <RowItem> rowQueue, MyQueue <FileItem> processedQueue) : base(aName, inQueue)
 {
     this.rowQueue       = rowQueue;
     this.processedQueue = processedQueue;
 }
 public DirectoryScanner(string aName, MyQueue <string> inQueue, MyQueue <FileItem> outQueue) : base(aName, inQueue)
 {
     this.outQueue = outQueue;
 }
Пример #4
0
 public Worker(string aName, MyQueue <T> aQueue)
 {
     FName   = aName;
     inQueue = aQueue;
 }
Пример #5
0
 public RowProcessor(string aName, MyQueue <RowItem> inQueue, MyQueue <EventItem> outQueue) : base(aName, inQueue)
 {
     this.outQueue = outQueue;
 }
Пример #6
0
 public SessionFixup(string aName, MyQueue <Session> inQueue) : base(aName, inQueue)
 {
     this.sessionQueue = inQueue;
     db = new Piwik("localhost", "piwik", "root", "mysql");
     db.Open();
 }