From f739d191af76b1b22416f914212153db40abc17d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 8 Dec 2008 02:18:03 +0000 Subject: OutputControl and subclasses: added giveReadCredit() for IO level flow control. Cluster: Set read credit limit for cluster connections. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724233 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/AggregateOutput.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cpp/src/qpid/sys/AggregateOutput.cpp') diff --git a/cpp/src/qpid/sys/AggregateOutput.cpp b/cpp/src/qpid/sys/AggregateOutput.cpp index 849e2bacfb..fa6901d3e4 100644 --- a/cpp/src/qpid/sys/AggregateOutput.cpp +++ b/cpp/src/qpid/sys/AggregateOutput.cpp @@ -26,10 +26,9 @@ namespace qpid { namespace sys { -void AggregateOutput::activateOutput() -{ - control.activateOutput(); -} +void AggregateOutput::activateOutput() { control.activateOutput(); } + +void AggregateOutput::giveReadCredit(int32_t credit) { control.giveReadCredit(credit); } bool AggregateOutput::hasOutput() { for (TaskList::const_iterator i = tasks.begin(); i != tasks.end(); ++i) -- cgit v1.2.1