public AkkaHostedService(ILoggerFactory loggerFactory, ActorSystem actorRefFactory, ClusterProxy clusterProxy) : base(loggerFactory, actorRefFactory) { this._clusterProxy = clusterProxy; this.logger = loggerFactory.CreateLogger <AkkaHostedService>(); }
public ClusterService(ActorSystem ActorSystem, ClusterProxy clusterProxy) { this._clusterProxy = clusterProxy; this._ActorSystem = ActorSystem; this._ClusterSingletonClient = GetClusterSingletonProxy(_clusterProxy); }
IActorRef GetClusterSingletonProxy(ClusterProxy clusterProxy) { return (clusterProxy.ClusterClient); //_ActorSystem.ActorOf(Props.Empty.WithRouter(FromConfig.Instance), "PubActor"); }
public QueryController(IClusterService clusterService, ClusterProxy clusterProxy) { this._clusterService = clusterService; _clusterProxy = clusterProxy; }