Example #1
0
 public AkkaHostedService(ILoggerFactory loggerFactory, ActorSystem actorRefFactory, ClusterProxy clusterProxy)
     : base(loggerFactory, actorRefFactory)
 {
     this._clusterProxy = clusterProxy;
     this.logger        = loggerFactory.CreateLogger <AkkaHostedService>();
 }
Example #2
0
 public ClusterService(ActorSystem ActorSystem, ClusterProxy clusterProxy)
 {
     this._clusterProxy           = clusterProxy;
     this._ActorSystem            = ActorSystem;
     this._ClusterSingletonClient = GetClusterSingletonProxy(_clusterProxy);
 }
Example #3
0
 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;
 }