/// <summary> /// Invoked when a node's connection to this server has been disconnected /// </summary> /// <param name="closedChannel">The <see cref="IConnection" /> instance that just closed</param> /// <param name="reason">The reason why this node disconnected</param> protected void NodeDisconnected(HeliosConnectionException reason, IConnection closedChannel) { if (EventLoop.Disconnection != null) { EventLoop.Disconnection(reason, closedChannel); } }