#include <ClientMessage.h>
Public Member Functions | |
std::string | getData () |
Allows the application to access the content of messages received. | |
void | setData (const std::string &_data) |
Allows the application to set the content of messages to be sent. | |
bool | isRedelivered () |
| |
void | setRedelivered (bool _redelivered) |
u_int64_t | getDeliveryTag () |
const std::string & | getContentType () |
const std::string & | getContentEncoding () |
qpid::framing::FieldTable & | getHeaders () |
u_int8_t | getDeliveryMode () |
u_int8_t | getPriority () |
const std::string & | getCorrelationId () |
const std::string & | getReplyTo () |
const std::string & | getExpiration () |
const std::string & | getMessageId () |
u_int64_t | getTimestamp () |
const std::string & | getType () |
const std::string & | getUserId () |
const std::string & | getAppId () |
const std::string & | getClusterId () |
void | setContentType (const std::string &type) |
void | setContentEncoding (const std::string &encoding) |
void | setHeaders (const qpid::framing::FieldTable &headers) |
void | setDeliveryMode (u_int8_t mode) |
Sets the delivery mode. | |
void | setPriority (u_int8_t priority) |
void | setCorrelationId (const std::string &correlationId) |
void | setReplyTo (const std::string &replyTo) |
void | setExpiration (const std::string &expiration) |
void | setMessageId (const std::string &messageId) |
void | setTimestamp (u_int64_t timestamp) |
void | setType (const std::string &type) |
void | setUserId (const std::string &userId) |
void | setAppId (const std::string &appId) |
void | setClusterId (const std::string &clusterId) |
std::string qpid::client::Message::getData | ( | ) | [inline] |
Allows the application to access the content of messages received.
void qpid::client::Message::setData | ( | const std::string & | _data | ) | [inline] |
Allows the application to set the content of messages to be sent.
data | a string representing the data of the message |
void qpid::client::Message::setDeliveryMode | ( | u_int8_t | mode | ) |
Sets the delivery mode.
1 = non-durable, 2 = durable.