public AmqpChannelFactory(AmqpTransportBindingElement transportBindingElement, BindingContext context) : base(transportBindingElement, context) { this.transportBindingElement = transportBindingElement; this.sharedAmqpConnections = new ConcurrentDictionary <string, AmqpChannelFactory.SharedAmqpConnection>(); this.sharedAmqpLinks = new ConcurrentDictionary <string, AmqpChannelFactory.SharedAmqpLink>(); this.amqpChannelEvents = new AmqpChannelFactory.AmqpChannelEvents(this); }
private AmqpTransportBindingElement(AmqpTransportBindingElement elementToBeCloned) : base(elementToBeCloned) { this.AmqpSettings = elementToBeCloned.AmqpSettings.Clone(); }
public AmqpChannelListener(AmqpTransportBindingElement transportBindingElement, BindingContext context) : base(transportBindingElement, context, HostNameComparisonMode.StrongWildcard) { this.availableChannels = new InputQueue <IInputSessionChannel>(); this.id = string.Concat(base.GetType().Name, this.GetHashCode()); MessagingClientEtwProvider.Provider.EventWriteAmqpLogOperation(this, TraceOperation.Create, this.Uri); }
protected AmqpChannelListenerBase(AmqpTransportBindingElement transportBindingElement, BindingContext context, HostNameComparisonMode hostNameComparisonMode) : base(transportBindingElement, context, hostNameComparisonMode) { this.TransportBindingElement = transportBindingElement; }