Esempio n. 1
0
 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());
 }
Esempio n. 2
0
 public CharacterController(IXIVAPIClient client)
 {
     _client = client;
 }
Esempio n. 3
0
 public CharacterWorker(IActorRef supervisorRef, IXIVAPIClient client)
 {
     _supervisor = supervisorRef;
     _client     = client;
     BecomeReady();
 }
Esempio n. 4
0
 public XIVAPIController(ILogger <HomeController> logger, IXIVAPIClient client)
 {
     _logger = logger;
     _client = client;
 }