Esempio n. 1
0
        public PrintServer(Action <string> logger, CancellationToken cancelToken)
        {
            this.cancelToken = cancelToken;
            this.logger      = logger;

            this.printJobReader = new PrintJobListener(this.logger, this.cancelToken);
            this.snmpAgent      = new SnmpPrinterAgent(this.logger);
        }
Esempio n. 2
0
        public PrintServer(Action<string> logger, CancellationToken cancelToken)
        {
            this.cancelToken = cancelToken;
            this.logger = logger;

            this.printJobReader = new PrintJobListener(this.logger, this.cancelToken);
            this.snmpAgent = new SnmpPrinterAgent(this.logger);
        }