Example #1
0
    protected CQueue(Object opener, CConfigSys cfg) {
      instOfQueue = this;
      this.cfg = cfg;
      this._opener = opener;
      this._runningReports = new Dictionary<String, IRemoteProcInst>();
      String v_srvName = null;
      if (this._opener is Service)
        v_srvName = (this._opener as Service).ServiceName;
      this._thread = new CBackgroundThread(
        v_srvName,
        this.cfg.adminEmail,
        this.cfg.smtp,
        this.cfg.errLogWriter, 
        this._processQueue);
		}
Example #2
0
 public Service() {
   InitializeComponent();
   this._init();
   this._queue = CQueue.creQueue(this, this._cfg);
 }
 public CQueueRemoteControl() {
   this.Owner = CQueue.instOfQueue;
 }