public void Start()
        {
            _lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(_ipAddress, _port, _actorSystemName);
            var pbm = PetabridgeCmd.Get(_lighthouseSystem);

            pbm.RegisterCommandPalette(ClusterCommands.Instance); // enable cluster management commands
            pbm.Start();
        }
Beispiel #2
0
        public void Start()
        {
            this.lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(this.ipAddress, this.port);
            var cmd = PetabridgeCmd.Get(lighthouseSystem);

            cmd.RegisterCommandPalette(ClusterCommands.Instance);
            cmd.Start();
        }
        static void Main(string[] args)
        {
            ActorSystem lighthouseSystem = LighthouseHostFactory.LaunchLighthouse();

            Console.ReadLine();

            CoordinatedShutdown.Get(lighthouseSystem).Run().Wait();
        }
Beispiel #4
0
 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>(), ActorPaths.ClusterManagerActor.Name));
        }
Beispiel #6
0
 public void Start()
 {
     _lighthouseSystem = LighthouseHostFactory.LaunchLighthouse();
 }
 public bool Start(HostControl hostControl)
 {
     _lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(_ipAddress, _port);
     return(true);
 }
 public void Start()
 {
     _lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(_ipAddress, _port);
 }
 public void Start()
 {
     _lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(_ipAddress, _port);
     var cmd = PetabridgeCmd.Get(_lighthouseSystem);
     //cmd.Start();
 }
 public void Start(string ipAddress, int?port)
 {
     _lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(ipAddress, port);
 }