summaryrefslogtreecommitdiff
path: root/cpp/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-01-30 23:25:56 +0000
committerAlan Conway <aconway@apache.org>2007-01-30 23:25:56 +0000
commit90c5a913d9b394d02797037e991d63530fb75669 (patch)
tree03b6ae9365c28ab0709730e570fcde49e5fa3a94 /cpp/tests
parent6599f4a99d600656276b1f9b0ee8c0e803d523d1 (diff)
downloadqpid-python-90c5a913d9b394d02797037e991d63530fb75669.tar.gz
* cpp/lib/broker/Broker.cpp: Defer creation of acceptor till needed so
InProcessBroker will not listen on any port. * cpp/lib/broker/BrokerAdapter,Connection.cpp,.h: Encapsulate public data members. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501638 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/tests')
-rw-r--r--cpp/tests/InProcessBroker.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/cpp/tests/InProcessBroker.h b/cpp/tests/InProcessBroker.h
index af0f4e84fe..cf2b9df8b0 100644
--- a/cpp/tests/InProcessBroker.h
+++ b/cpp/tests/InProcessBroker.h
@@ -49,16 +49,7 @@ framing::AMQFrame copy(framing::AMQFrame& from) {
*
* Also allows you to "snoop" on frames exchanged between client & broker.
*
- * Use as follows:
- *
- \code
- broker::InProcessBroker ibroker(version);
- client::Connection clientConnection;
- clientConnection.setConnector(ibroker);
- clientConnection.open("");
- ... use as normal
- \endcode
- *
+ * see FramingTest::testRequestResponseRoundtrip() for example of use.
*/
class InProcessBroker : public client::Connector {
public: