public void Handle(SystemMessage.StartShutdown message)
 {
     _host.Stop();
 }
 public void Handle(SystemMessage.StartShutdown m)
 {
     Console.WriteLine("going to shutdown");
     _state = NodeState.ShuttingDown;
     _outputBus.Publish(m);
 }
 public void Handle(SystemMessage.StartShutdown message)
 {
     _selfDestruct = true;
     _mainQueue.Publish(new SystemMessage.ServiceShutdown("Hello world"));
 }