diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2010-12-23 17:11:57 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2010-12-23 17:11:57 +0000 |
| commit | c3d6047e94210bd35f7c35b9bba0bc2e60841fa7 (patch) | |
| tree | 6e6ab77a94534863b37069f7b48c82b2bd411f51 /cpp/src/qpid/sys/rdma/RdmaClient.cpp | |
| parent | ff152807775cf3ad146742a59bbe44146cbb9a34 (diff) | |
| download | qpid-python-c3d6047e94210bd35f7c35b9bba0bc2e60841fa7.tar.gz | |
Rename Rdma send buffer operations.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052331 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys/rdma/RdmaClient.cpp')
| -rw-r--r-- | cpp/src/qpid/sys/rdma/RdmaClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/rdma/RdmaClient.cpp b/cpp/src/qpid/sys/rdma/RdmaClient.cpp index e53ebb0520..38e9b59541 100644 --- a/cpp/src/qpid/sys/rdma/RdmaClient.cpp +++ b/cpp/src/qpid/sys/rdma/RdmaClient.cpp @@ -94,7 +94,7 @@ Xor128Generator input; void write(Rdma::AsynchIO& aio) { while (aio.writable() && smsgs < target) { - Rdma::Buffer* b = aio.getBuffer(); + Rdma::Buffer* b = aio.getSendBuffer(); if (!b) break; b->dataCount(msgsize); uint32_t* ip = reinterpret_cast<uint32_t*>(b->bytes()); @@ -143,7 +143,7 @@ void full(Rdma::AsynchIO& a, Rdma::Buffer* b) { sbytes -= b->dataCount(); // Give buffer back - a.returnBuffer(b); + a.returnSendBuffer(b); } void idle(Poller::shared_ptr p, Rdma::AsynchIO& aio) { |
