Chinchilla.WorkerPoolWorker.WorkerPoolWorker C# (CSharp) Метод

WorkerPoolWorker() публичный Метод

public WorkerPoolWorker ( int ordinal, IThreadFactory threadFactory, BlockingCollection deliveries, IDeliveryProcessor connectedProcessor ) : System
ordinal int
threadFactory IThreadFactory
deliveries BlockingCollection
connectedProcessor IDeliveryProcessor
Результат System
        public WorkerPoolWorker(
            int ordinal,
            IThreadFactory threadFactory,
            BlockingCollection<IDelivery> deliveries,
            IDeliveryProcessor connectedProcessor)
            : base(connectedProcessor)
        {
            this.ordinal = ordinal;
            this.deliveries = deliveries;

            thread = threadFactory.Create(StartTakingMessages);
        }