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/RdmaIOPlugin.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/RdmaIOPlugin.cpp')
| -rw-r--r-- | cpp/src/qpid/sys/RdmaIOPlugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/RdmaIOPlugin.cpp b/cpp/src/qpid/sys/RdmaIOPlugin.cpp index c2ea815d31..9eb2eb7b5d 100644 --- a/cpp/src/qpid/sys/RdmaIOPlugin.cpp +++ b/cpp/src/qpid/sys/RdmaIOPlugin.cpp @@ -116,7 +116,7 @@ void RdmaIOHandler::start(Poller::shared_ptr poller) { void RdmaIOHandler::write(const framing::ProtocolInitiation& data) { QPID_LOG(debug, "Rdma: SENT [" << identifier << "] INIT(" << data << ")"); - Rdma::Buffer* buff = aio->getBuffer(); + Rdma::Buffer* buff = aio->getSendBuffer(); assert(buff); framing::Buffer out(buff->bytes(), buff->byteCount()); data.encode(out); @@ -146,7 +146,7 @@ void RdmaIOHandler::idle(Rdma::AsynchIO&) { if (!codec->canEncode()) { return; } - Rdma::Buffer* buff = aio->getBuffer(); + Rdma::Buffer* buff = aio->getSendBuffer(); if (buff) { size_t encoded=codec->encode(buff->bytes(), buff->byteCount()); buff->dataCount(encoded); |
