summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Completion.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-04-20 12:10:37 +0000
committerGordon Sim <gsim@apache.org>2008-04-20 12:10:37 +0000
commit0637677cf6653256b67c82dcb74f35133601220c (patch)
tree8507bb8373e8b6dfd8c9b96fcb4b262fd4d61501 /cpp/src/qpid/client/Completion.h
parent48dab065ef526f68a5a7d4c4ba22c5b8b2e2e026 (diff)
downloadqpid-python-0637677cf6653256b67c82dcb74f35133601220c.tar.gz
QPID-920: converted c++ client to use final 0-10 protocol
* connection handler converted to using invoker & proxy and updated to final method defs * SessionCore & ExecutionHandler replace by SessionImpl * simplified handling of completion & results, removed handling of responses git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649915 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Completion.h')
-rw-r--r--cpp/src/qpid/client/Completion.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/cpp/src/qpid/client/Completion.h b/cpp/src/qpid/client/Completion.h
index 4d324aaf28..19d5b31777 100644
--- a/cpp/src/qpid/client/Completion.h
+++ b/cpp/src/qpid/client/Completion.h
@@ -24,7 +24,7 @@
#include <boost/shared_ptr.hpp>
#include "Future.h"
-#include "SessionCore.h"
+#include "SessionImpl.h"
namespace qpid {
namespace client {
@@ -33,17 +33,12 @@ class Completion
{
protected:
Future future;
- shared_ptr<SessionCore> session;
+ shared_ptr<SessionImpl> session;
public:
Completion() {}
- Completion(Future f, shared_ptr<SessionCore> s) : future(f), session(s) {}
-
- void sync()
- {
- future.sync(*session);
- }
+ Completion(Future f, shared_ptr<SessionImpl> s) : future(f), session(s) {}
void wait()
{
@@ -53,10 +48,6 @@ public:
bool isComplete() {
return future.isComplete(*session);
}
-
- bool isCompleteUpTo() {
- return future.isCompleteUpTo(*session);
- }
};
}}