Author: astitcher
Date: Mon Dec 8 09:10:49 2008
New Revision: 724409
URL: http://svn.apache.org/viewvc?rev=724409&view=rev
Log:
Added dummy read throttling code to RDMA protocol support so
it will carry on compiling
Modified:
incubator/qpid/trunk/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp
Modified: incubator/qpid/trunk/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp?rev=724409&r1=724408&r2=724409&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp (original)
+++ incubator/qpid/trunk/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp Mon Dec 8
09:10:49 2008
@@ -59,6 +59,7 @@
// Output side
void close();
void activateOutput();
+ void giveReadCredit(int32_t credit);
void initProtocolOut();
// Input side
@@ -144,6 +145,10 @@
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