Ejemplo n.º 1
0
        public LibuvOutputConsumer(
            IPipeReader pipe,
            LibuvThread thread,
            UvStreamHandle socket,
            string connectionId,
            ILibuvTrace log)
        {
            _pipe         = pipe;
            _thread       = thread;
            _socket       = socket;
            _connectionId = connectionId;
            _log          = log;

            _pipe.OnWriterCompleted(OnWriterCompleted, this);
        }