diff options
Diffstat (limited to 'cpp/lib/client/IncomingMessage.h')
| -rw-r--r-- | cpp/lib/client/IncomingMessage.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/lib/client/IncomingMessage.h b/cpp/lib/client/IncomingMessage.h index 464e05d877..a2aa4d8441 100644 --- a/cpp/lib/client/IncomingMessage.h +++ b/cpp/lib/client/IncomingMessage.h @@ -36,9 +36,7 @@ namespace client { qpid::framing::BasicReturnBody::shared_ptr returned; qpid::framing::BasicGetOkBody::shared_ptr response; qpid::framing::AMQHeaderBody::shared_ptr header; - std::vector<qpid::framing::AMQContentBody::shared_ptr> content; - - u_int64_t contentSize(); + std::string data; public: IncomingMessage(qpid::framing::BasicDeliverBody::shared_ptr intro); IncomingMessage(qpid::framing::BasicReturnBody::shared_ptr intro); @@ -53,7 +51,7 @@ namespace client { const std::string& getConsumerTag();//only relevant if isDelivery() qpid::framing::AMQHeaderBody::shared_ptr& getHeader(); u_int64_t getDeliveryTag(); - void getData(std::string& data); + std::string getData() const; }; } |
