public EstablishConnectionAsyncResult(AmqpChannelFactory.SharedAmqpLink sharedAmqpLink, AmqpChannelFactory.AmqpOutputChannel channel, TimeSpan timeout, AsyncCallback callback, object state) : base(timeout, callback, state) { this.channel = channel; this.sharedAmqpLink = sharedAmqpLink; AmqpChannelFactory.AmqpOutputChannel.EstablishConnectionAsyncResult establishConnectionAsyncResult = this; establishConnectionAsyncResult.OnCompleting = (Action <AsyncResult, Exception>)Delegate.Combine(establishConnectionAsyncResult.OnCompleting, AmqpChannelFactory.AmqpOutputChannel.EstablishConnectionAsyncResult.onFinally); }
public OpenLinkAsyncResult(AmqpChannelFactory.SharedAmqpConnection sharedAmqpConnection, AmqpChannelFactory.SharedAmqpLink sharedAmqpLink, Uri via, TimeSpan timeout, AsyncCallback callback, object state) : base(timeout, callback, state) { this.sharedAmqpConnection = sharedAmqpConnection; this.sharedAmqpLink = sharedAmqpLink; this.via = via; AmqpChannelFactory.SharedAmqpLink.OpenLinkAsyncResult openLinkAsyncResult = this; openLinkAsyncResult.OnCompleting = (Action <AsyncResult, Exception>)Delegate.Combine(openLinkAsyncResult.OnCompleting, AmqpChannelFactory.SharedAmqpLink.OpenLinkAsyncResult.onFinally); }
public AmqpOutputChannel(AmqpChannelFactory.SharedAmqpLink sharedAmqpLink, AmqpChannelFactory channelFactory, EndpointAddress address, Uri via) : base(channelFactory) { this.sharedAmqpLink = sharedAmqpLink; this.RemoteAddress = address; this.Via = via; this.id = string.Concat(base.GetType().Name, Interlocked.Increment(ref AmqpChannelFactory.AmqpOutputChannel.instanceIdCounter)); this.onAmqpObjectClosed = new EventHandler(this.OnAmqpObjectClosed); }