Esempio n. 1
0
        private void Handle(SystemMessage.ServiceShutdown message)
        {
            Log.Info("========== [{0}] Service '{1}' has shut down.", _httpEndPoint, message.ServiceName);

            _serviceShutdownsToExpect -= 1;
            if (_serviceShutdownsToExpect == 0)
            {
                Log.Info("========== [{0}] All Services Shutdown.", _httpEndPoint);
                Shutdown();
            }
        }
        private void Handle(SystemMessage.ServiceShutdown message)
        {
            Log.Info("Service [{0}] has shut down.", message.ServiceName);

            --_serviceShutdownsToExpect;
            if (_serviceShutdownsToExpect == 0)
            {
                Log.Info("========== All Services Shutdown: SingleVNodeController =========");
                Shutdown();
            }
        }
 private void Handle(SystemMessage.ServiceShutdown message)
 {
     Log.Info("========== [{0}] Service '{1}' has shut down.", _nodeInfo.InternalHttp, message.ServiceName);
     _serviceShutdownsToExpect -= 1;
     if (_serviceShutdownsToExpect == 0)
     {
         Log.Info("========== [{0}] All Services Shutdown.", _nodeInfo.InternalHttp);
         Shutdown();
     }
     _outputBus.Publish(message);
 }