diff options
author | Gordon Sim <gsim@apache.org> | 2008-04-29 20:15:18 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-04-29 20:15:18 +0000 |
commit | acc0dee435e1fa22e3b1e7cdfecf6913bf88988e (patch) | |
tree | 729f7a03543acf23380e68897f8788a3e6b45e2e /cpp/src/tests/BasicP2PTest.cpp | |
parent | a19ce3b1863f80c1232ec2690cd920325a39d71a (diff) | |
download | qpid-python-acc0dee435e1fa22e3b1e7cdfecf6913bf88988e.tar.gz |
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/qpid@652083 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/BasicP2PTest.cpp')
-rw-r--r-- | cpp/src/tests/BasicP2PTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/BasicP2PTest.cpp b/cpp/src/tests/BasicP2PTest.cpp index b202f88ca6..9f5f1acccb 100644 --- a/cpp/src/tests/BasicP2PTest.cpp +++ b/cpp/src/tests/BasicP2PTest.cpp @@ -29,7 +29,7 @@ class BasicP2PTest::Receiver : public Worker, public MessageListener const std::string queue; std::string tag; public: - Receiver(TestOptions& options, const std::string& _queue, const int _messages) + Receiver(ConnectionSettings& options, const std::string& _queue, const int _messages) : Worker(options, _messages), queue(_queue){} void init() { @@ -51,7 +51,7 @@ public: } }; -void BasicP2PTest::assign(const std::string& role, framing::FieldTable& params, TestOptions& options) +void BasicP2PTest::assign(const std::string& role, framing::FieldTable& params, ConnectionSettings& options) { std::string queue = params.getString("P2P_QUEUE_AND_KEY_NAME"); int messages = params.getInt("P2P_NUM_MESSAGES"); |