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>();
		}
Beispiel #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>();
        }