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

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

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

            Console.ReadLine();

            CoordinatedShutdown.Get(lighthouseSystem).Run().Wait();
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 6
0
 public void Start()
 {
     _lighthouseSystem = LighthouseHostFactory.LaunchLighthouse();
 }
Ejemplo n.º 7
0
 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();
 }
Ejemplo n.º 10
0
 public void Start(string ipAddress, int?port)
 {
     _lighthouseSystem = LighthouseHostFactory.LaunchLighthouse(ipAddress, port);
 }