2014-06-06 03:40:17 +08:00
|
|
|
#ifndef amqp_message_p_h__
|
|
|
|
|
#define amqp_message_p_h__
|
|
|
|
|
|
|
|
|
|
#include <QHash>
|
|
|
|
|
#include <QSharedData>
|
|
|
|
|
|
2014-08-26 21:57:08 +08:00
|
|
|
#include "amqp_frame_p.h"
|
2014-06-06 03:40:17 +08:00
|
|
|
#include "amqp_message.h"
|
|
|
|
|
|
|
|
|
|
namespace QAMQP {
|
|
|
|
|
|
|
|
|
|
class MessagePrivate : public QSharedData
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
MessagePrivate();
|
|
|
|
|
|
|
|
|
|
qlonglong deliveryTag;
|
|
|
|
|
bool redelivered;
|
|
|
|
|
QString exchangeName;
|
|
|
|
|
QString routingKey;
|
|
|
|
|
QByteArray payload;
|
2014-07-22 03:17:04 +08:00
|
|
|
QHash<Message::Property, QVariant> properties;
|
2014-07-22 04:25:21 +08:00
|
|
|
QHash<QString, QVariant> headers;
|
2014-06-06 03:40:17 +08:00
|
|
|
int leftSize;
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace QAMQP
|
|
|
|
|
|
|
|
|
|
#endif // amqp_message_p_h__
|