示例#1
0
        public static void Main(string[] args)
        {
            SetupDatabaseConnections();

            var mq = new MonitoringClient(GetMonitoredState,
                                          "kaos_monitored_state_queue",
                                          TimeSpan.FromSeconds(1));

            mq.Run();
        }