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