1 #ifndef QPID_FRAMING_DELIVERYPROPERTIES_H
2 #define QPID_FRAMING_DELIVERYPROPERTIES_H
46 std::string routingKey;
53 bool _discardUnroutable,
61 const std::string& _exchange,
62 const std::string& _routingKey,
63 const std::string& _resumeId,
64 uint64_t _resumeTtl) :
66 deliveryMode(_deliveryMode),
68 timestamp(_timestamp),
69 expiration(_expiration),
71 routingKey(_routingKey),
73 resumeTtl(_resumeTtl),
75 setDiscardUnroutable(_discardUnroutable);
76 setImmediate(_immediate);
77 setRedelivered(_redelivered);
91 DeliveryProperties() : priority(0), deliveryMode(0), ttl(0), timestamp(0), expiration(0), resumeTtl(0), flags(0) {}
#define QPID_COMMON_EXTERN
void encode(const qpid::types::Variant::Map &map, Message &message, const std::string &encoding=std::string())
Encodes a Variant::Map into a message.
DeliveryProperties(bool _discardUnroutable, bool _immediate, bool _redelivered, uint8_t _priority, uint8_t _deliveryMode, uint64_t _ttl, uint64_t _timestamp, uint64_t _expiration, const std::string &_exchange, const std::string &_routingKey, const std::string &_resumeId, uint64_t _resumeTtl)
std::ostream & operator<<(std::ostream &, const Buffer &)
This file was automatically generated from the AMQP specification.
Definitions and full declarations of all types used in AMQP messages.
#define QPID_COMMON_CLASS_EXTERN
void decode(const Message &message, qpid::types::Variant::Map &map, const std::string &encoding=std::string())
Decodes message content into a Variant::Map.