diff options
author | Andrew Stitcher <astitcher@apache.org> | 2008-12-08 17:10:49 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2008-12-08 17:10:49 +0000 |
commit | f921058bfebf0ab27d6cfc18f9aea5b06ce80c22 (patch) | |
tree | 2afad524819e5547875d53f059170602b4499a20 | |
parent | 829e6ed873f8870cbb418cdd4209b4ae5deb264d (diff) | |
download | qpid-python-f921058bfebf0ab27d6cfc18f9aea5b06ce80c22.tar.gz |
Added dummy read throttling code to RDMA protocol support so
it will carry on compiling
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724409 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/qpid/sys/RdmaIOPlugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/sys/RdmaIOPlugin.cpp b/cpp/src/qpid/sys/RdmaIOPlugin.cpp index 3c1d57480a..b24dfcc35f 100644 --- a/cpp/src/qpid/sys/RdmaIOPlugin.cpp +++ b/cpp/src/qpid/sys/RdmaIOPlugin.cpp @@ -59,6 +59,7 @@ class RdmaIOHandler : public OutputControl { // Output side void close(); void activateOutput(); + void giveReadCredit(int32_t credit); void initProtocolOut(); // Input side @@ -144,6 +145,10 @@ void RdmaIOHandler::full(Rdma::AsynchIO&) { QPID_LOG(debug, "Rdma: buffer full [" << identifier << "]"); } +// TODO: Dummy implementation of read throttling +void RdmaIOHandler::giveReadCredit(int32_t) { +} + // The logic here is subtly different from TCP as RDMA is message oriented // so we define that an RDMA message is a frame - in this case there is no putting back // of any message remainder - there shouldn't be any. And what we read here can't be |