summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/BasicPubSubTest.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-06-02 21:38:25 +0000
committerAlan Conway <aconway@apache.org>2008-06-02 21:38:25 +0000
commit3d394d673203680adbd98449f700ae209a9f39f1 (patch)
tree581fecb00505317231f90fc861da7c749f445c8d /qpid/cpp/src/tests/BasicPubSubTest.cpp
parenta3c4c567d0d1c616f3f9fcefe12f5c24d71a27c6 (diff)
downloadqpid-python-3d394d673203680adbd98449f700ae209a9f39f1.tar.gz
Separate option parsing from qpid::client::ClientSettings.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@662581 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/BasicPubSubTest.cpp')
-rw-r--r--qpid/cpp/src/tests/BasicPubSubTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/BasicPubSubTest.cpp b/qpid/cpp/src/tests/BasicPubSubTest.cpp
index aed47b419c..1e9ff364f1 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(ConnectionSettings& options, const Exchange& _exchange, const std::string& _queue, const std::string& _key, const int _messages)
+ Receiver(ConnectionOptions& 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(ConnectionSettings& options, const Exchange& exchange, const std::string& key, const int _messages, int receiverCount)
+ MultiReceiver(ConnectionOptions& 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, ConnectionSettings& options)
+void BasicPubSubTest::assign(const std::string& role, framing::FieldTable& params, ConnectionOptions& options)
{
std::string key = params.getString("PUBSUB_KEY");
int messages = params.getInt("PUBSUB_NUM_MESSAGES");