From 414f520f8b730c8437ed9c42628f07824a7e9dd1 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 29 Apr 2008 20:15:18 +0000 Subject: QPID-974: allow the size of the queue of outgoing frames to be restricted QPID-544: tidy up configuration (ensuring desired settings are used correctly, allowing tcp socket options to be set etc) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@652083 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/SimpleTestCaseBase.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'qpid/cpp/src/tests/SimpleTestCaseBase.h') diff --git a/qpid/cpp/src/tests/SimpleTestCaseBase.h b/qpid/cpp/src/tests/SimpleTestCaseBase.h index 7f94fa7e1c..e2c328437e 100644 --- a/qpid/cpp/src/tests/SimpleTestCaseBase.h +++ b/qpid/cpp/src/tests/SimpleTestCaseBase.h @@ -28,6 +28,7 @@ #include "qpid/client/Channel.h" #include "qpid/client/Message.h" #include "qpid/client/Connection.h" +#include "qpid/client/ConnectionSettings.h" #include "qpid/client/MessageListener.h" #include "TestCase.h" @@ -49,7 +50,7 @@ protected: public: - Worker(TestOptions& options, const int messages); + Worker(ConnectionSettings& options, const int messages); virtual ~Worker(){} virtual void stop(); @@ -63,7 +64,7 @@ protected: const Exchange& exchange; const std::string key; public: - Sender(TestOptions& options, + Sender(ConnectionSettings& options, const Exchange& exchange, const std::string& key, const int messages); @@ -74,7 +75,7 @@ protected: std::auto_ptr worker; public: - virtual void assign(const std::string& role, framing::FieldTable& params, TestOptions& options) = 0; + virtual void assign(const std::string& role, framing::FieldTable& params, ConnectionSettings& options) = 0; virtual ~SimpleTestCaseBase() {} -- cgit v1.2.1