public void AddTcpListener(int accept_depth, short port) { var message_server = new TcpMessageServer(accept_depth, port, OnMessage, completion_queue); topic_server.AddMessageServer(message_server); }
public TcpTopicServer(int accept_depth, short port, CompletionQueue completion_queue) { topic_server = new TopicServer(); var message_server = new TcpMessageServer(accept_depth, port, OnMessage, completion_queue); topic_server.AddMessageServer(message_server); }