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/BasicPubSubTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qpid/cpp/src/tests/BasicPubSubTest.cpp') diff --git a/qpid/cpp/src/tests/BasicPubSubTest.cpp b/qpid/cpp/src/tests/BasicPubSubTest.cpp index 623194d331..aed47b419c 100644 --- a/qpid/cpp/src/tests/BasicPubSubTest.cpp +++ b/qpid/cpp/src/tests/BasicPubSubTest.cpp @@ -30,7 +30,7 @@ class BasicPubSubTest::Receiver : public Worker, public MessageListener const std::string key; std::string tag; public: - Receiver(TestOptions& options, const Exchange& _exchange, const std::string& _queue, const std::string& _key, const int _messages) + Receiver(ConnectionSettings& options, const Exchange& _exchange, const std::string& _queue, const std::string& _key, const int _messages) : Worker(options, _messages), exchange(_exchange), queue(_queue), key(_key){} void init() @@ -58,7 +58,7 @@ class BasicPubSubTest::MultiReceiver : public Worker, public MessageListener ReceiverList receivers; public: - MultiReceiver(TestOptions& options, const Exchange& exchange, const std::string& key, const int _messages, int receiverCount) + MultiReceiver(ConnectionSettings& options, const Exchange& exchange, const std::string& key, const int _messages, int receiverCount) : Worker(options, _messages) { for (int i = 0; i != receiverCount; i++) { @@ -104,7 +104,7 @@ public: } }; -void BasicPubSubTest::assign(const std::string& role, framing::FieldTable& params, TestOptions& options) +void BasicPubSubTest::assign(const std::string& role, framing::FieldTable& params, ConnectionSettings& options) { std::string key = params.getString("PUBSUB_KEY"); int messages = params.getInt("PUBSUB_NUM_MESSAGES"); -- cgit v1.2.1