diff options
author | Alan Conway <aconway@apache.org> | 2008-06-02 21:38:25 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-06-02 21:38:25 +0000 |
commit | 3ff35b94f59f92bf33c8f4d29643c4ad899b4673 (patch) | |
tree | f45d78a5d4a03408e813cc1fc82f7ba749053d44 /cpp/src/tests/BasicPubSubTest.cpp | |
parent | 93aa60d35700a912d47719770f294135292359e6 (diff) | |
download | qpid-python-3ff35b94f59f92bf33c8f4d29643c4ad899b4673.tar.gz |
Separate option parsing from qpid::client::ClientSettings.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662581 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/BasicPubSubTest.cpp')
-rw-r--r-- | cpp/src/tests/BasicPubSubTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/tests/BasicPubSubTest.cpp b/cpp/src/tests/BasicPubSubTest.cpp index aed47b419c..1e9ff364f1 100644 --- a/cpp/src/tests/BasicPubSubTest.cpp +++ b/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"); |