private async Task StopListener(IChannelCreator listener) { await listener.StopAsync(); _logger.LogInformation($"The listener [{listener}] has been stopped."); }
protected virtual void OnNewClientAccept(IChannelCreator listener, IChannel channel) { AcceptNewChannel(channel); }