public void HandleBasicGetEmpty() { BasicGetRpcContinuation k = (BasicGetRpcContinuation)m_continuationQueue.Next(); k.m_result = null; k.HandleCommand(null); // release the continuation. }
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. }