SoftLove.Communication.Publisher.TestPublisher C# (CSharp) Method

TestPublisher() public static method

Test le publisher
public static TestPublisher ( ) : void
return void
        public static void TestPublisher()
        {
            Publisher myPub = new Publisher();
            try
            {
                while (true)
                {
                    myPub.SendInfo(Publisher.GESTE, "DEBOUT");
                    Thread.Sleep(500);
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex);
            }
        }
    }