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(); }
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(); }