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)); }
public ActorController(IAkkaService akkaService) { _akkaService = akkaService; }