Пример #1
0
        static void Main(string[] args)
        {
            Repository repository = new Repository();;
            Message    Test       = TestMessages.getMsg();

            new TestHarness_(repository).sendTestRequest(Test);
            new TestHarness_(repository).processMessages(); //it which we will create 8 threads
        }
Пример #2
0
        static void Main(string[] args)
        {
            Message Test = TestMessages.getMsg();

            new Client().sendResults(Test);
        }