コード例 #1
0
        private static void OnSenderOpen(IAsyncResult result)
        {
            DuplexAmqpLink asyncState = (DuplexAmqpLink)result.AsyncState;

            asyncState.OnOperationComplete(asyncState.sender, result, true);
        }
コード例 #2
0
        private static void OnReceiverClose(IAsyncResult result)
        {
            DuplexAmqpLink asyncState = (DuplexAmqpLink)result.AsyncState;

            asyncState.OnOperationComplete(asyncState.receiver, result, false);
        }