public TopicSubscriptionObserver(
			[NotNull] IMessageNameFormatter formatter,
			[NotNull] InboundTransportImpl inboundTransport)
		{
			if (formatter == null) throw new ArgumentNullException("formatter");
			if (inboundTransport == null) throw new ArgumentNullException("inboundTransport");

			_formatter = formatter;
			_inboundTransport = inboundTransport;

			_bindings = new Dictionary<Guid, TopicDescription>();
		}
예제 #2
0
        public TopicSubscriptionObserver(
            [NotNull] IMessageNameFormatter formatter,
            [NotNull] InboundTransportImpl inboundTransport)
        {
            if (formatter == null)
            {
                throw new ArgumentNullException("formatter");
            }
            if (inboundTransport == null)
            {
                throw new ArgumentNullException("inboundTransport");
            }

            _formatter        = formatter;
            _inboundTransport = inboundTransport;

            _bindings = new Dictionary <Guid, TopicDescription>();
        }