예제 #1
0
 public HybridTopicServer(CompletionQueue completion_queue)
 {
     this.completion_queue = completion_queue;
     topic_server = new TopicServer();
 }
예제 #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);
 }