Example #1
0
        public NetMQServer(IPipelineFactory pipelineFactory)
        {
            Guard.AgainstNull(pipelineFactory, nameof(pipelineFactory));

            _threadPool =
                new ProcessorThreadPool("ServerProcessor", 1, new ServerProcessorFactory(pipelineFactory));
        }
Example #2
0
 public void Stop()
 {
     _threadPool?.Dispose();
     _threadPool = null;
 }