public void InitializeCluster() { _lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(_ipAddress, _port); Program.ClusterSystem = _lighthouseSystem; Program.ClusterStatus = Program.ClusterSystem.ActorOf(Props.Create(() => new ClusterStatus(_hostControl)), ActorPaths.ClusterStatusActor.Name); Program.ClusterHelper = Program.ClusterSystem.ActorOf(Props.Create(() => new ClusterHelper()), ActorPaths.ClusterHelperActor.Name); }
public void InitializeCluster() { _lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(_ipAddress, _port); Program.ClusterSystem = _lighthouseSystem; Program.ClusterStatus = Program.ClusterSystem.ActorOf(Props.Create(() => new ClusterStatus(_hostControl)), ActorPaths.ClusterStatusActor.Name); Program.ClusterHelper = Program.ClusterSystem.ActorOf(Props.Create(() => new ClusterHelper()), ActorPaths.ClusterHelperActor.Name); //var receptionist = ClusterClientReceptionist.Get(_lighthouseSystem); //receptionist.RegisterService(_lighthouseSystem.ActorOf(Props.Create<ClusterManager>(), "clustermanager")); }