diff options
author | Alan Conway <aconway@apache.org> | 2008-06-09 20:55:09 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-06-09 20:55:09 +0000 |
commit | 03a39d920d010b29b156a99ee9b3fcfc7c7c64a1 (patch) | |
tree | 0959d63de389bd08fcb5d074eb5a0712a1db24a8 /cpp/src/qpid/client/Message.cpp | |
parent | 31a74cd4a5c849b134a172cc5e6ce2e2a447e5e5 (diff) | |
download | qpid-python-03a39d920d010b29b156a99ee9b3fcfc7c7c64a1.tar.gz |
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
Diffstat (limited to 'cpp/src/qpid/client/Message.cpp')
-rw-r--r-- | cpp/src/qpid/client/Message.cpp | 71 |
1 files changed, 38 insertions, 33 deletions
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<framing::MessageTransferBody>()), 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<framing::MessageTransferBody>()), id(frameset.getId()) +{ + populate(frameset); +} }} |