public void Dispose()
        {
            foreach (var channel in _consumerChannels.RemoveAll())
            {
                channel.Disconnected();
            }

            foreach (var channel in _producerChannels.RemoveAll())
            {
                channel.Disconnected();
            }
        }
示例#2
0
        public void Dispose()
        {
            _requestResponseHandler.Dispose();

            foreach (var channel in _consumerChannels.RemoveAll())
            {
                channel.Disconnected();
            }

            foreach (var channel in _producerChannels.RemoveAll())
            {
                channel.Disconnected();
            }
        }