public SensuClient( ISensuClientConfigurationReader sensuClientConfigurationReader, IKeepAliveScheduler keepAliveScheduler, ISubScriptionsReceiver subScriptionsReceiver, ISocketServer socketServer, IStandAloneCheckScheduler standAloneCheckScheduler ) { Log.Debug("sensu-client constructor"); try { _sensuClientConfigurationReader = sensuClientConfigurationReader; } catch (Exception ex) { Log.Error(ex, "Error getting configuration reader:"); } Log.Debug("sensu-client configuration read!"); _keepAliveScheduler = keepAliveScheduler; Log.Debug("sensu-client keepalive i"); _subScriptionsReceiver = subScriptionsReceiver; _socketServer = socketServer; _standAloneCheckScheduler = standAloneCheckScheduler; Log.Debug("sensu-client subscription"); _socketServer = socketServer; Log.Debug("sensu-client socket server"); _standAloneCheckScheduler = standAloneCheckScheduler; _keepalivethread = new Thread(_keepAliveScheduler.KeepAlive); _subscriptionsthread = new Thread(_subScriptionsReceiver.Subscriptions); Log.Debug("Threads started"); LoadConfiguration(); Log.Debug("Configuration loaded"); }