private ProcessClient(CtpServer server, TcpClient client) { using (Logger.AppendStackMessages("Remote Client", client.Client.RemoteEndPoint.ToString())) Log = Logger.CreatePublisher(typeof(ProcessClient), MessageClass.Framework); m_server = server; m_client = client; }
public static void AcceptAsync(CtpServer server, TcpClient client) { var pc = new ProcessClient(server, client); pc.Start(); }