예제 #1
0
        private async Task StopListener(IChannelCreator listener)
        {
            await listener.StopAsync();

            _logger.LogInformation($"The listener [{listener}] has been stopped.");
        }
예제 #2
0
 protected virtual void OnNewClientAccept(IChannelCreator listener, IChannel channel)
 {
     AcceptNewChannel(channel);
 }