Example #1
0
        public override void DeployTo(IAkkaService akkaService)
        {
            var coordinator = akkaService.Deploy(CoordinatorActor.ClientName, system => system.ActorOf(Props.Empty.WithRouter(FromConfig.Instance), CoordinatorActor.ClientName));

            akkaService.Deploy(ReportMonitorActor.Name, system => system.ActorOf(Props.Create(() => new ReportMonitorActor(coordinator)), ReportMonitorActor.Name));
        }
Example #2
0
 public ActorController(IAkkaService akkaService)
 {
     _akkaService = akkaService;
 }