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 OpenConnectionAsyncResult(AmqpChannelFactory.SharedAmqpConnection sharedAmqpConnection, string host, int port, AmqpSettings settings, TimeSpan timeout, AsyncCallback callback, object state) : base(timeout, callback, state) { this.sharedAmqpConnection = sharedAmqpConnection; this.host = host; this.port = port; this.settings = settings; AmqpChannelFactory.SharedAmqpConnection.OpenConnectionAsyncResult openConnectionAsyncResult = this; openConnectionAsyncResult.OnCompleting = (Action <AsyncResult, Exception>)Delegate.Combine(openConnectionAsyncResult.OnCompleting, AmqpChannelFactory.SharedAmqpConnection.OpenConnectionAsyncResult.onFinally); }
public SharedAmqpLink(AmqpChannelFactory amqpChannelFactory, AmqpChannelFactory.SharedAmqpConnection sharedConnection, Uri via) : base(new object()) { this.amqpChannelFactory = amqpChannelFactory; this.sharedAmqpConnection = sharedConnection; this.via = via; }