diff options
| author | Alan Conway <aconway@apache.org> | 2007-09-28 16:21:34 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-09-28 16:21:34 +0000 |
| commit | d20f8aab6bb42dfb668452ea0d916344034eb29c (patch) | |
| tree | 2a3a246ba951048fe17b95eac7272b1efabbf3b9 /qpid/cpp/src/tests/InProcessBroker.h | |
| parent | 537906c2c210229b68ece0d817afbb605b66aa5e (diff) | |
| download | qpid-python-d20f8aab6bb42dfb668452ea0d916344034eb29c.tar.gz | |
* src/tests/ClientSessionTest.cpp: Suspend/resume tests.
* broker/SessionManager.cpp, broker/SessionHandler.cpp:
Implement suspend/resume
* client/ScopedAssociation.h, SessionCore.h, SessionHandler.h:
Simplified relationships.
- Removed ScopedAssociation.
- SessionHandler: is now a member of SessionCore.
- SessionCore: shared_ptr ownership by Session(s) and ConnectionImpl.
- Using framing::FrameHandler interfaces.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@580403 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/InProcessBroker.h')
| -rw-r--r-- | qpid/cpp/src/tests/InProcessBroker.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/InProcessBroker.h b/qpid/cpp/src/tests/InProcessBroker.h index 531ebd8fa7..2a9f12771b 100644 --- a/qpid/cpp/src/tests/InProcessBroker.h +++ b/qpid/cpp/src/tests/InProcessBroker.h @@ -24,6 +24,7 @@ #include "qpid/broker/Connection.h" #include "qpid/client/Connector.h" #include "qpid/client/Connection.h" +#include "qpid/log/Statement.h" #include <vector> #include <iostream> @@ -101,7 +102,8 @@ class InProcessBroker : public client::Connector { ) : sender(sender_), conversation(conversation_), in(ih) {} void send(framing::AMQFrame& frame) { - //std::cout << (sender == CLIENT ? "C->S: " : "S->C: ") << frame << std::endl; + QPID_LOG(debug, + (sender==CLIENT ? "CLIENT: " : "BROKER: ") << frame); conversation.push_back(TaggedFrame(sender, frame)); in->received(frame); } |
