summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests/SimpleTestCaseBase.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-04-29 20:15:18 +0000
committerGordon Sim <gsim@apache.org>2008-04-29 20:15:18 +0000
commit414f520f8b730c8437ed9c42628f07824a7e9dd1 (patch)
treefca4fab15a6fde4943288cc8efe8c7b06a2cd787 /qpid/cpp/src/tests/SimpleTestCaseBase.cpp
parent6915cc6324acacbbe7707e19573f0e35c5010e85 (diff)
downloadqpid-python-414f520f8b730c8437ed9c42628f07824a7e9dd1.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@652083 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/SimpleTestCaseBase.cpp')
-rw-r--r--qpid/cpp/src/tests/SimpleTestCaseBase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/src/tests/SimpleTestCaseBase.cpp b/qpid/cpp/src/tests/SimpleTestCaseBase.cpp
index 4f071cd02b..0111e030fb 100644
--- a/qpid/cpp/src/tests/SimpleTestCaseBase.cpp
+++ b/qpid/cpp/src/tests/SimpleTestCaseBase.cpp
@@ -47,7 +47,7 @@ void SimpleTestCaseBase::report(client::Message& report)
}
}
-SimpleTestCaseBase::Sender::Sender(TestOptions& options,
+SimpleTestCaseBase::Sender::Sender(ConnectionSettings& options,
const Exchange& _exchange,
const std::string& _key,
const int _messages)
@@ -67,8 +67,8 @@ void SimpleTestCaseBase::Sender::start(){
stop();
}
-SimpleTestCaseBase::Worker::Worker(TestOptions& options, const int _messages) :
- connection(options.trace), messages(_messages), count(0)
+SimpleTestCaseBase::Worker::Worker(ConnectionSettings& options, const int _messages) :
+ messages(_messages), count(0)
{
connection.open(options.host, options.port);
connection.openChannel(channel);