From 03a39d920d010b29b156a99ee9b3fcfc7c7c64a1 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 9 Jun 2008 20:55:09 +0000 Subject: Updated doxygen comments in qpid/client/*.h Changed request-response example to use SubscriptionManager like the others. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@665891 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/Message.cpp | 71 ++++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 33 deletions(-) (limited to 'cpp/src/qpid/client/Message.cpp') diff --git a/cpp/src/qpid/client/Message.cpp b/cpp/src/qpid/client/Message.cpp index 58d8fb142a..d5464594ee 100644 --- a/cpp/src/qpid/client/Message.cpp +++ b/cpp/src/qpid/client/Message.cpp @@ -24,45 +24,50 @@ namespace qpid { namespace client { - Message::Message(const std::string& data_, - const std::string& routingKey, - const std::string& exchange) : TransferContent(data_, routingKey, exchange) {} +Message::Message(const std::string& data_, + const std::string& routingKey, + const std::string& exchange) : TransferContent(data_, routingKey, exchange) {} - std::string Message::getDestination() const - { - return method.getDestination(); - } +std::string Message::getDestination() const +{ + return method.getDestination(); +} - bool Message::isRedelivered() const - { - return hasDeliveryProperties() && getDeliveryProperties().getRedelivered(); - } +bool Message::isRedelivered() const +{ + return hasDeliveryProperties() && getDeliveryProperties().getRedelivered(); +} - void Message::setRedelivered(bool redelivered) - { - getDeliveryProperties().setRedelivered(redelivered); - } +void Message::setRedelivered(bool redelivered) +{ + getDeliveryProperties().setRedelivered(redelivered); +} - framing::FieldTable& Message::getHeaders() - { - return getMessageProperties().getApplicationHeaders(); - } +framing::FieldTable& Message::getHeaders() +{ + return getMessageProperties().getApplicationHeaders(); +} - const framing::MessageTransferBody& Message::getMethod() const - { - return method; - } +const framing::FieldTable& Message::getHeaders() const +{ + return getMessageProperties().getApplicationHeaders(); +} - const framing::SequenceNumber& Message::getId() const - { - return id; - } +const framing::MessageTransferBody& Message::getMethod() const +{ + return method; +} - /**@internal for incoming messages */ - Message::Message(const framing::FrameSet& frameset) : - method(*frameset.as()), id(frameset.getId()) - { - populate(frameset); - } +const framing::SequenceNumber& Message::getId() const +{ + return id; +} + +/**@internal for incoming messages */ +Message::Message(const framing::FrameSet& frameset) : + method(*frameset.as()), id(frameset.getId()) +{ + populate(frameset); +} }} -- cgit v1.2.1