qpid::messaging::Message Class Reference
[Qpid C++ Client API]
Representation of a message.
More...
#include <qpid/messaging/Message.h>
List of all members.
Detailed Description
Representation of a message.
Definition at line 42 of file Message.h.
Constructor & Destructor Documentation
qpid::messaging::Message::Message |
( |
const std::string & |
bytes = std::string() |
) |
|
qpid::messaging::Message::Message |
( |
const char * |
, |
|
|
size_t |
| |
|
) |
| | |
qpid::messaging::Message::Message |
( |
const Message & |
|
) |
|
qpid::messaging::Message::~Message |
( |
|
) |
|
Member Function Documentation
std::string qpid::messaging::Message::getContent |
( |
|
) |
const |
Get the content as a std::string.
const char* qpid::messaging::Message::getContentPtr |
( |
|
) |
const |
Get a const pointer to the start of the content data.
size_t qpid::messaging::Message::getContentSize |
( |
|
) |
const |
Get the size of content in bytes.
const std::string& qpid::messaging::Message::getContentType |
( |
|
) |
const |
const std::string& qpid::messaging::Message::getCorrelationId |
( |
|
) |
const |
bool qpid::messaging::Message::getDurable |
( |
|
) |
const |
const std::string& qpid::messaging::Message::getMessageId |
( |
|
) |
const |
uint8_t qpid::messaging::Message::getPriority |
( |
|
) |
const |
bool qpid::messaging::Message::getRedelivered |
( |
|
) |
const |
const Address& qpid::messaging::Message::getReplyTo |
( |
|
) |
const |
const std::string& qpid::messaging::Message::getSubject |
( |
|
) |
const |
Duration qpid::messaging::Message::getTtl |
( |
|
) |
const |
Get the time to live for this message in milliseconds.
const std::string& qpid::messaging::Message::getUserId |
( |
|
) |
const |
void qpid::messaging::Message::setContent |
( |
const char * |
chars, |
|
|
size_t |
count | |
|
) |
| | |
Note that chars are copied.
void qpid::messaging::Message::setContent |
( |
const std::string & |
|
) |
|
void qpid::messaging::Message::setContentType |
( |
const std::string & |
|
) |
|
void qpid::messaging::Message::setCorrelationId |
( |
const std::string & |
|
) |
|
void qpid::messaging::Message::setDurable |
( |
bool |
durable |
) |
|
void qpid::messaging::Message::setMessageId |
( |
const std::string & |
|
) |
|
void qpid::messaging::Message::setPriority |
( |
uint8_t |
|
) |
|
void qpid::messaging::Message::setRedelivered |
( |
bool |
|
) |
|
void qpid::messaging::Message::setReplyTo |
( |
const Address & |
|
) |
|
void qpid::messaging::Message::setSubject |
( |
const std::string & |
|
) |
|
void qpid::messaging::Message::setTtl |
( |
Duration |
ttl |
) |
|
Set the time to live for this message in milliseconds.
void qpid::messaging::Message::setUserId |
( |
const std::string & |
|
) |
|
The documentation for this class was generated from the following file: