static void OnReceiverClose(IAsyncResult result) { DuplexAmqpLink thisPtr = (DuplexAmqpLink)result.AsyncState; thisPtr.OnOperationComplete(thisPtr.receiver, result, false); }
static void OnSenderOpen(IAsyncResult result) { DuplexAmqpLink thisPtr = (DuplexAmqpLink)result.AsyncState; thisPtr.OnOperationComplete(thisPtr.sender, result, true); }