示例#1
0
 /// <summary>
 ///     Invoked when a new node has connected to this server
 /// </summary>
 /// <param name="node">The <see cref="INode" /> instance that just connected</param>
 /// <param name="responseChannel">The channel that the server can respond to</param>
 protected void NodeConnected(INode node, IConnection responseChannel)
 {
     if (EventLoop.Connection != null)
     {
         EventLoop.Connection(node, responseChannel);
     }
 }