Exemplo n.º 1
0
        public void HandleBasicGetEmpty()
        {
            BasicGetRpcContinuation k = (BasicGetRpcContinuation)m_continuationQueue.Next();

            k.m_result = null;
            k.HandleCommand(null); // release the continuation.
        }
Exemplo n.º 2
0
        public void HandleBasicGetOk(ulong deliveryTag,
                                     bool redelivered,
                                     string exchange,
                                     string routingKey,
                                     uint messageCount,
                                     IBasicProperties basicProperties,
                                     byte[] body)
        {
            BasicGetRpcContinuation k = (BasicGetRpcContinuation)m_continuationQueue.Next();

            k.m_result = new BasicGetResult(deliveryTag,
                                            redelivered,
                                            exchange,
                                            routingKey,
                                            messageCount,
                                            basicProperties,
                                            body);
            k.HandleCommand(null); // release the continuation.
        }