Exemplo n.º 1
0
        protected MomChannel(MomHostSetting host, MomExchangeSetting exchange, MomQueueSetting queue)
        {
            if (host == null)
            {
                throw new ArgumentNullException("host");
            }
            if (exchange == null)
            {
                throw new ArgumentNullException("exchange");
            }
            if (queue == null)
            {
                throw new ArgumentNullException("queue");
            }

            HostSetting     = host;
            ExchangeSetting = exchange;
            QueueSetting    = queue;
        }
 public OutgoingMomChannel(MomHostSetting host, MomExchangeSetting exchange, MomQueueSetting queue)
     : base(host, exchange, queue)
 {
 }
 public OutgoingMomChannel(MomHostSetting host, MomExchangeSetting exchange, MomQueueSetting queue, TimeSpan retryPeriod)
     : base(host, exchange, queue, retryPeriod)
 {
 }
Exemplo n.º 4
0
 protected ReconnectableMomChannel(MomHostSetting host, MomExchangeSetting exchange, MomQueueSetting queue, TimeSpan retryPeriod)
     : base(host, exchange, queue)
 {
     this.RetryPeriod = retryPeriod;
 }
Exemplo n.º 5
0
 protected ReconnectableMomChannel(MomHostSetting host, MomExchangeSetting exchange, MomQueueSetting queue)
     : this(host, exchange, queue, TimeSpan.FromSeconds(30))
 {
 }
Exemplo n.º 6
0
 public IncomingMomChannel(MomHostSetting host, MomExchangeSetting exchange, MomQueueSetting queue)
     : base(host, exchange, queue)
 {
     this.Connected += OnConnected;
 }
 public IncomingMomChannel(MomHostSetting host, MomExchangeSetting exchange, MomQueueSetting queue, TimeSpan retryPeriod)
     : base(host, exchange, queue, retryPeriod)
 {
     this.Connected += OnConnected;
 }
Exemplo n.º 8
0
 public MomChannelConnectedEventArgs(MomExchangeSetting exchange, MomQueueSetting queue)
     : this()
 {
     this.ExchangeSetting = exchange;
     this.QueueSetting    = queue;
 }