Пример #1
0
        static void Main(string[] args)
        {
            MqttProcessingApp app = new MqttProcessingApp();

            app.LogMsgEvent += App_LogMsgEvent;
            app.Run();
            System.Console.WriteLine("Hit any key to quit");
            System.Console.ReadLine();
            app.Stop();
        }
Пример #2
0
 protected override void OnStop()
 {
     app.Stop();
     app = null;
 }