Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Public Member Functions | Static Public Attributes | Friends | List of all members
qpid::framing::DeliveryProperties Class Reference

#include <qpid/framing/DeliveryProperties.h>

Public Member Functions

 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)
 
 DeliveryProperties ()
 
void setDiscardUnroutable (bool _discardUnroutable)
 
bool getDiscardUnroutable () const
 
void setImmediate (bool _immediate)
 
bool getImmediate () const
 
void setRedelivered (bool _redelivered)
 
bool getRedelivered () const
 
void setPriority (uint8_t _priority)
 
uint8_t getPriority () const
 
bool hasPriority () const
 
void clearPriorityFlag ()
 
void setDeliveryMode (uint8_t _deliveryMode)
 
uint8_t getDeliveryMode () const
 
bool hasDeliveryMode () const
 
void clearDeliveryModeFlag ()
 
void setTtl (uint64_t _ttl)
 
uint64_t getTtl () const
 
bool hasTtl () const
 
void clearTtlFlag ()
 
void setTimestamp (uint64_t _timestamp)
 
uint64_t getTimestamp () const
 
bool hasTimestamp () const
 
void clearTimestampFlag ()
 
void setExpiration (uint64_t _expiration)
 
uint64_t getExpiration () const
 
bool hasExpiration () const
 
void clearExpirationFlag ()
 
void setExchange (const std::string &_exchange)
 
const std::string & getExchange () const
 
bool hasExchange () const
 
void clearExchangeFlag ()
 
void setRoutingKey (const std::string &_routingKey)
 
const std::string & getRoutingKey () const
 
bool hasRoutingKey () const
 
void clearRoutingKeyFlag ()
 
void setResumeId (const std::string &_resumeId)
 
const std::string & getResumeId () const
 
bool hasResumeId () const
 
void clearResumeIdFlag ()
 
void setResumeTtl (uint64_t _resumeTtl)
 
uint64_t getResumeTtl () const
 
bool hasResumeTtl () const
 
void clearResumeTtlFlag ()
 
void encode (Buffer &) const
 
void decode (Buffer &, uint32_t=0)
 
void encodeStructBody (Buffer &) const
 
void decodeStructBody (Buffer &, uint32_t=0)
 
uint32_t encodedSize () const
 
uint32_t bodySize () const
 
void print (std::ostream &out) const
 

Static Public Attributes

static const uint16_t TYPE = 1025
 

Friends

std::ostream & operator<< (std::ostream &, const DeliveryProperties &)
 

Detailed Description

Definition at line 39 of file DeliveryProperties.h.

Constructor & Destructor Documentation

◆ DeliveryProperties() [1/2]

qpid::framing::DeliveryProperties::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 
)
inline

Definition at line 52 of file DeliveryProperties.h.

◆ DeliveryProperties() [2/2]

qpid::framing::DeliveryProperties::DeliveryProperties ( )
inline

Definition at line 91 of file DeliveryProperties.h.

Member Function Documentation

◆ bodySize()

uint32_t qpid::framing::DeliveryProperties::bodySize ( ) const

◆ clearDeliveryModeFlag()

void qpid::framing::DeliveryProperties::clearDeliveryModeFlag ( )

◆ clearExchangeFlag()

void qpid::framing::DeliveryProperties::clearExchangeFlag ( )

◆ clearExpirationFlag()

void qpid::framing::DeliveryProperties::clearExpirationFlag ( )

◆ clearPriorityFlag()

void qpid::framing::DeliveryProperties::clearPriorityFlag ( )

◆ clearResumeIdFlag()

void qpid::framing::DeliveryProperties::clearResumeIdFlag ( )

◆ clearResumeTtlFlag()

void qpid::framing::DeliveryProperties::clearResumeTtlFlag ( )

◆ clearRoutingKeyFlag()

void qpid::framing::DeliveryProperties::clearRoutingKeyFlag ( )

◆ clearTimestampFlag()

void qpid::framing::DeliveryProperties::clearTimestampFlag ( )

◆ clearTtlFlag()

void qpid::framing::DeliveryProperties::clearTtlFlag ( )

◆ decode()

void qpid::framing::DeliveryProperties::decode ( Buffer &  ,
uint32_t  = 0 
)

◆ decodeStructBody()

void qpid::framing::DeliveryProperties::decodeStructBody ( Buffer &  ,
uint32_t  = 0 
)

◆ encode()

void qpid::framing::DeliveryProperties::encode ( Buffer &  ) const

◆ encodedSize()

uint32_t qpid::framing::DeliveryProperties::encodedSize ( ) const

◆ encodeStructBody()

void qpid::framing::DeliveryProperties::encodeStructBody ( Buffer &  ) const

◆ getDeliveryMode()

uint8_t qpid::framing::DeliveryProperties::getDeliveryMode ( ) const

◆ getDiscardUnroutable()

bool qpid::framing::DeliveryProperties::getDiscardUnroutable ( ) const

◆ getExchange()

const std::string& qpid::framing::DeliveryProperties::getExchange ( ) const

◆ getExpiration()

uint64_t qpid::framing::DeliveryProperties::getExpiration ( ) const

◆ getImmediate()

bool qpid::framing::DeliveryProperties::getImmediate ( ) const

◆ getPriority()

uint8_t qpid::framing::DeliveryProperties::getPriority ( ) const

◆ getRedelivered()

bool qpid::framing::DeliveryProperties::getRedelivered ( ) const

◆ getResumeId()

const std::string& qpid::framing::DeliveryProperties::getResumeId ( ) const

◆ getResumeTtl()

uint64_t qpid::framing::DeliveryProperties::getResumeTtl ( ) const

◆ getRoutingKey()

const std::string& qpid::framing::DeliveryProperties::getRoutingKey ( ) const

◆ getTimestamp()

uint64_t qpid::framing::DeliveryProperties::getTimestamp ( ) const

◆ getTtl()

uint64_t qpid::framing::DeliveryProperties::getTtl ( ) const

◆ hasDeliveryMode()

bool qpid::framing::DeliveryProperties::hasDeliveryMode ( ) const

◆ hasExchange()

bool qpid::framing::DeliveryProperties::hasExchange ( ) const

◆ hasExpiration()

bool qpid::framing::DeliveryProperties::hasExpiration ( ) const

◆ hasPriority()

bool qpid::framing::DeliveryProperties::hasPriority ( ) const

◆ hasResumeId()

bool qpid::framing::DeliveryProperties::hasResumeId ( ) const

◆ hasResumeTtl()

bool qpid::framing::DeliveryProperties::hasResumeTtl ( ) const

◆ hasRoutingKey()

bool qpid::framing::DeliveryProperties::hasRoutingKey ( ) const

◆ hasTimestamp()

bool qpid::framing::DeliveryProperties::hasTimestamp ( ) const

◆ hasTtl()

bool qpid::framing::DeliveryProperties::hasTtl ( ) const

◆ print()

void qpid::framing::DeliveryProperties::print ( std::ostream &  out) const

◆ setDeliveryMode()

void qpid::framing::DeliveryProperties::setDeliveryMode ( uint8_t  _deliveryMode)

◆ setDiscardUnroutable()

void qpid::framing::DeliveryProperties::setDiscardUnroutable ( bool  _discardUnroutable)

◆ setExchange()

void qpid::framing::DeliveryProperties::setExchange ( const std::string &  _exchange)

◆ setExpiration()

void qpid::framing::DeliveryProperties::setExpiration ( uint64_t  _expiration)

◆ setImmediate()

void qpid::framing::DeliveryProperties::setImmediate ( bool  _immediate)

◆ setPriority()

void qpid::framing::DeliveryProperties::setPriority ( uint8_t  _priority)

◆ setRedelivered()

void qpid::framing::DeliveryProperties::setRedelivered ( bool  _redelivered)

◆ setResumeId()

void qpid::framing::DeliveryProperties::setResumeId ( const std::string &  _resumeId)

◆ setResumeTtl()

void qpid::framing::DeliveryProperties::setResumeTtl ( uint64_t  _resumeTtl)

◆ setRoutingKey()

void qpid::framing::DeliveryProperties::setRoutingKey ( const std::string &  _routingKey)

◆ setTimestamp()

void qpid::framing::DeliveryProperties::setTimestamp ( uint64_t  _timestamp)

◆ setTtl()

void qpid::framing::DeliveryProperties::setTtl ( uint64_t  _ttl)

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const DeliveryProperties  
)
friend

Member Data Documentation

◆ TYPE

const uint16_t qpid::framing::DeliveryProperties::TYPE = 1025
static

Definition at line 51 of file DeliveryProperties.h.


The documentation for this class was generated from the following file:

Qpid C++ API Reference
Generated on Fri Aug 11 2023 for Qpid C++ Client API by doxygen 1.8.14