Пример #1
0
        private static void StartCommunication(AgentClient client)
        {
            client.Start();
            var stream       = client.Stream;
            var communicator = new AgentCommunicator(stream, new BinaryFormatter(), new CodeJobWorker(), FileCache.Instance, logger);

            communicator.StartCommunicationLoop();
        }
Пример #2
0
 private static void StartCommunication(AgentClient client)
 {
     client.Start();
     var stream = client.Stream;
     var communicator = new AgentCommunicator(stream, new BinaryFormatter(), new CodeJobWorker(), FileCache.Instance, logger);
     communicator.StartCommunicationLoop();
 }