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 | 80b6b093289ca4fdd4b74a6a361777794100e045 (patch) | |
| tree | 056d9fe6b249e7308ab94d86c419709d8e3a6e33 /qpid/cpp/src | |
| parent | 31822740bdc69838d66477e3d91b15dd54885cef (diff) | |
| download | qpid-python-80b6b093289ca4fdd4b74a6a361777794100e045.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@724409 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp b/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp index 3c1d57480a..b24dfcc35f 100644 --- a/qpid/cpp/src/qpid/sys/RdmaIOPlugin.cpp +++ b/qpid/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 |
