summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/FutureResponse.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-11-22 23:55:39 +0000
committerAlan Conway <aconway@apache.org>2007-11-22 23:55:39 +0000
commitcb070d9813e4232b4ec8409ca555b529ee5cee4b (patch)
tree7f8ed15de2c4f933db59b79b52222c70f2a2a240 /cpp/src/qpid/client/FutureResponse.h
parent4d16c847bd0868ac8ff3039ce22fcdae28606aeb (diff)
downloadqpid-python-cb070d9813e4232b4ec8409ca555b529ee5cee4b.tar.gz
Added framing::BodyHolder:
- Uniform holder for all body types, replaces MethodHolder. - Uses in_place constructors to avoid avoid body copy. framing::AMQFrame: - Holds body in heap-allocated intrusive_ptr<BodyHolder> - Uses in_place constructors to avoid avoid body copy. Removed/downgraded to TODO many redundant FIXME comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@597513 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/FutureResponse.h')
-rw-r--r--cpp/src/qpid/client/FutureResponse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/FutureResponse.h b/cpp/src/qpid/client/FutureResponse.h
index df3b7c6f30..534ca01bb7 100644
--- a/cpp/src/qpid/client/FutureResponse.h
+++ b/cpp/src/qpid/client/FutureResponse.h
@@ -23,7 +23,7 @@
#define _FutureResponse_
#include "qpid/framing/amqp_framing.h"
-#include "qpid/framing/MethodHolder.h"
+#include "qpid/framing/BodyHolder.h"
#include "FutureCompletion.h"
namespace qpid {
@@ -33,7 +33,7 @@ class SessionCore;
class FutureResponse : public FutureCompletion
{
- framing::MethodHolder response;
+ framing::BodyHolder response;
public:
framing::AMQMethodBody* getResponse(SessionCore& session);
void received(const framing::AMQMethodBody* response);