Ejemplo 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);
        }
Ejemplo 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);
        }