diff options
| author | Gordon Sim <gsim@apache.org> | 2007-08-05 13:25:36 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-08-05 13:25:36 +0000 |
| commit | b2efcb6ed3e1e2104836928cda81ed69f2f24559 (patch) | |
| tree | 392ae403dcb0d32da3edaeaf8a1f497679d9102c /cpp/src/tests/InProcessBroker.h | |
| parent | b2fadec5d86e278d96112e915e67aec934e91046 (diff) | |
| download | qpid-python-b2efcb6ed3e1e2104836928cda81ed69f2f24559.tar.gz | |
Added first cut of generated client interface.
Old channel interface still supported; shares SessionCore with the new interface.
Todo: allow applications to signal completion of received commands; keywrod args for interface.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@562866 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/InProcessBroker.h')
| -rw-r--r-- | cpp/src/tests/InProcessBroker.h | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/cpp/src/tests/InProcessBroker.h b/cpp/src/tests/InProcessBroker.h index 48ac80d30a..9f30ee584d 100644 --- a/cpp/src/tests/InProcessBroker.h +++ b/cpp/src/tests/InProcessBroker.h @@ -134,30 +134,7 @@ std::ostream& operator<<( } } // namespace broker - - -namespace client { -/** An in-process client+broker all in one. */ -class InProcessBrokerClient : public client::Connection { - public: - broker::InProcessBroker broker; - broker::InProcessBroker::Conversation& conversation; - - /** Constructor creates broker and opens client connection. */ - InProcessBrokerClient( - u_int32_t max_frame_size=65536, - framing::ProtocolVersion version= framing::highestProtocolVersion - ) : client::Connection(false, max_frame_size, version), - broker(version), - conversation(broker.conversation) - { - setConnector(broker); - open(""); - } -}; - - -}} // namespace qpid::client +} // namespace qpid #endif // _tests_InProcessBroker_h |
