private static int RunChild(Logger logger, string name) { logger.WriteInfo("Child started ('{0}').", name); ReceiveLoop loop = new ReceiveLoop(logger, name); loop.Start(); Console.ReadLine(); loop.Stop(); logger.WriteInfo("Child exiting."); return 0; }
private static int RunChild(Logger logger, string name) { logger.WriteInfo("Child started ('{0}').", name); ReceiveLoop loop = new ReceiveLoop(logger, name); loop.Start(); Console.ReadLine(); loop.Stop(); logger.WriteInfo("Child exiting."); return(0); }