public CharacterSupervisor(IXIVAPIClient client) { _availableWorkers = new Queue <IActorRef>(); _client = client; Receive <WorkerAvailable>(message => MakeWorkerAvailable(message)); Receive <UpdateCharacterMessage>(message => UpdateCharacterData(message)); Receive <GetQueueLength>(message => GetQueueLength()); Receive <GetAvailableWorkers>(message => GetAvailableWorkers()); }
public CharacterController(IXIVAPIClient client) { _client = client; }
public CharacterWorker(IActorRef supervisorRef, IXIVAPIClient client) { _supervisor = supervisorRef; _client = client; BecomeReady(); }
public XIVAPIController(ILogger <HomeController> logger, IXIVAPIClient client) { _logger = logger; _client = client; }