summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/background/TestI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2013-07-12 14:07:08 +0200
committerBenoit Foucher <benoit@zeroc.com>2013-07-12 14:07:08 +0200
commite0064a1ce41067e40eb1495745e3499e836f1a61 (patch)
treeca41e7d77ff2da9d02775a4209c2e0009868053d /cpp/test/Ice/background/TestI.cpp
parentICE-5377 - clang optimized build failure (diff)
downloadice-e0064a1ce41067e40eb1495745e3499e836f1a61.tar.bz2
ice-e0064a1ce41067e40eb1495745e3499e836f1a61.tar.xz
ice-e0064a1ce41067e40eb1495745e3499e836f1a61.zip
Fix to allow transceivers to read more data than requested.
Diffstat (limited to 'cpp/test/Ice/background/TestI.cpp')
-rw-r--r--cpp/test/Ice/background/TestI.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/Ice/background/TestI.cpp b/cpp/test/Ice/background/TestI.cpp
index 26cb121abb4..0e6a44cc6cd 100644
--- a/cpp/test/Ice/background/TestI.cpp
+++ b/cpp/test/Ice/background/TestI.cpp
@@ -109,6 +109,12 @@ BackgroundControllerI::writeException(bool enable, const Ice::Current&)
_configuration->writeException(enable ? new Ice::SocketException(__FILE__, __LINE__) : 0);
}
+void
+BackgroundControllerI::buffered(bool enable, const Ice::Current&)
+{
+ _configuration->buffered(enable);
+}
+
BackgroundControllerI::BackgroundControllerI(const Ice::ObjectAdapterPtr& adapter,
const ConfigurationPtr& configuration) :
_adapter(adapter),