diff options
| author | Alan Conway <aconway@apache.org> | 2008-10-08 00:36:42 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-10-08 00:36:42 +0000 |
| commit | 1896a5d32c87555877edd1dafc1bd34e3fcf5683 (patch) | |
| tree | 1b241ae2e857fa44170748075b07d40a973b18b4 /cpp/src/qpid/client/SessionBase_0_10.cpp | |
| parent | 9d199b74aee76859480a7ee92d95c6db42028b43 (diff) | |
| download | qpid-python-1896a5d32c87555877edd1dafc1bd34e3fcf5683.tar.gz | |
rubygen/framing.0-10/constants.rb: create functions for all 3 exception subclasses.
client: added session suspend/resume functions, resume not implemented yet.
ClientSessionTest: enabled compilation of suspend/resume tests with expected failures.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@702674 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/SessionBase_0_10.cpp')
| -rw-r--r-- | cpp/src/qpid/client/SessionBase_0_10.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/SessionBase_0_10.cpp b/cpp/src/qpid/client/SessionBase_0_10.cpp index 974acbfcf6..50cfb4b09d 100644 --- a/cpp/src/qpid/client/SessionBase_0_10.cpp +++ b/cpp/src/qpid/client/SessionBase_0_10.cpp @@ -19,10 +19,12 @@ * */ #include "SessionBase_0_10.h" +#include "Connection.h" #include "qpid/framing/all_method_bodies.h" namespace qpid { namespace client { + using namespace framing; SessionBase_0_10::SessionBase_0_10() {} @@ -57,6 +59,10 @@ void SessionBase_0_10::sendCompletion() impl->sendCompletion(); } +void SessionBase_0_10::suspend() { impl->suspend(); } +void SessionBase_0_10::resume(Connection c) { impl->resume(c.impl); } +uint32_t SessionBase_0_10::timeout(uint32_t seconds) { return impl->setTimeout(seconds); } + SessionId SessionBase_0_10::getId() const { return impl->getId(); } framing::FrameSet::shared_ptr SessionBase_0_10::get() { return impl->get(); } |
