public JobContext(IJobDescriber describer, Guid workerId, WebSocketMessageBroadcaster broadcaster) { _describer = describer; WorkerId = workerId; _broadcaster = broadcaster; _logger = LogManager.GetLogger(describer.Name); }
public JobWorkerManager(IHostConifuration cfg, WebSocketMessageBroadcaster broadcaster, IEnumerable <IJobDescriber> describers, IQueue q) { _q = q; _cfg = cfg; _broadcaster = broadcaster; _describers = describers; _ss = new SemaphoreSlim(_cfg.Capacity, _cfg.MaxCapacity); Workers = new ConcurrentDictionary <Guid, JobWorker>(); }
public ServiceLogger(WebSocketMessageBroadcaster broadcaster) { _broadcaster = broadcaster; _logger = LogManager.GetLogger(typeof(T).FullName); }
public TestController(ServiceHost host, WebSocketMessageBroadcaster brocaster) { _host = host; }