diff options
author | Gordon Sim <gsim@apache.org> | 2007-09-06 20:27:33 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2007-09-06 20:27:33 +0000 |
commit | b33a63b36c659a894143382d0a61efe6a598fcc6 (patch) | |
tree | 0efc848ae9cc6064d615c6968b1d127e92b231d3 /cpp/src/qpid/client/FutureResponse.cpp | |
parent | 748698e4b8d5bd0c3ccec4ca898d334c13fc0795 (diff) | |
download | qpid-python-b33a63b36c659a894143382d0a61efe6a598fcc6.tar.gz |
Implementation of execution.result on the client side
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@573359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/FutureResponse.cpp')
-rw-r--r-- | cpp/src/qpid/client/FutureResponse.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/FutureResponse.cpp b/cpp/src/qpid/client/FutureResponse.cpp index e63dc9c192..afdd35c5eb 100644 --- a/cpp/src/qpid/client/FutureResponse.cpp +++ b/cpp/src/qpid/client/FutureResponse.cpp @@ -21,14 +21,17 @@ #include "FutureResponse.h" +#include "SessionCore.h" + using namespace qpid::client; using namespace qpid::framing; using namespace qpid::sys; -AMQMethodBody* FutureResponse::getResponse() +AMQMethodBody* FutureResponse::getResponse(SessionCore& session) { waitForCompletion(); + session.checkClosed(); return response.get(); } |