public void AddTcpListener(int accept_depth, short port)
 {
     var message_server = new TcpMessageServer(accept_depth, port, OnMessage, completion_queue);
     topic_server.AddMessageServer(message_server);
 }
Exemple #2
0
 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);
 }