| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <AMQFrame.h>
Public Member Functions | |
| AMQFrame (const boost::intrusive_ptr< AMQBody > &b=0) | |
| AMQFrame (const AMQBody &b) | |
| ~AMQFrame () | |
| ChannelId | getChannel () const |
| void | setChannel (ChannelId c) |
| AMQBody * | getBody () |
| const AMQBody * | getBody () const |
| AMQMethodBody * | getMethod () |
| const AMQMethodBody * | getMethod () const |
| void | setMethod (ClassId c, MethodId m) |
| template<class T > | |
| T * | castBody () |
| template<class T > | |
| const T * | castBody () const |
| void | encode (Buffer &buffer) const |
| bool | decode (Buffer &buffer) |
| uint32_t | encodedSize () const |
| bool | isFirstSegment () const |
| bool | isLastSegment () const |
| bool | isFirstFrame () const |
| bool | isLastFrame () const |
| void | setFirstSegment (bool set=true) |
| void | setLastSegment (bool set=true) |
| void | setFirstFrame (bool set=true) |
| void | setLastFrame (bool set=true) |
| bool | getBof () const |
| void | setBof (bool isBof) |
| bool | getEof () const |
| void | setEof (bool isEof) |
| bool | getBos () const |
| void | setBos (bool isBos) |
| bool | getEos () const |
| void | setEos (bool isEos) |
Static Public Member Functions | |
| static uint32_t | frameOverhead () |
| static uint16_t | decodeSize (char *data) |
| Must point to at least DECODE_SIZE_MIN bytes of data. | |
Static Public Attributes | |
| static uint16_t | DECODE_SIZE_MIN |
Definition at line 36 of file AMQFrame.h.
| qpid::framing::AMQFrame::AMQFrame | ( | const boost::intrusive_ptr< AMQBody > & | b = 0 |
) |
| qpid::framing::AMQFrame::AMQFrame | ( | const AMQBody & | b | ) |
| qpid::framing::AMQFrame::~AMQFrame | ( | ) |
| const T* qpid::framing::AMQFrame::castBody | ( | ) | const [inline] |
| T* qpid::framing::AMQFrame::castBody | ( | ) | [inline] |
| bool qpid::framing::AMQFrame::decode | ( | Buffer & | buffer | ) | [virtual] |
Implements qpid::framing::AMQDataBlock.
| static uint16_t qpid::framing::AMQFrame::decodeSize | ( | char * | data | ) | [static] |
Must point to at least DECODE_SIZE_MIN bytes of data.
| void qpid::framing::AMQFrame::encode | ( | Buffer & | buffer | ) | const [virtual] |
| uint32_t qpid::framing::AMQFrame::encodedSize | ( | ) | const [virtual] |
| static uint32_t qpid::framing::AMQFrame::frameOverhead | ( | ) | [static] |
| const AMQBody* qpid::framing::AMQFrame::getBody | ( | ) | const |
| AMQBody* qpid::framing::AMQFrame::getBody | ( | ) |
| bool qpid::framing::AMQFrame::getBof | ( | ) | const [inline] |
Definition at line 80 of file AMQFrame.h.
| bool qpid::framing::AMQFrame::getBos | ( | ) | const [inline] |
Definition at line 85 of file AMQFrame.h.
| ChannelId qpid::framing::AMQFrame::getChannel | ( | ) | const [inline] |
Definition at line 43 of file AMQFrame.h.
| bool qpid::framing::AMQFrame::getEof | ( | ) | const [inline] |
Definition at line 82 of file AMQFrame.h.
| bool qpid::framing::AMQFrame::getEos | ( | ) | const [inline] |
Definition at line 87 of file AMQFrame.h.
| const AMQMethodBody* qpid::framing::AMQFrame::getMethod | ( | ) | const [inline] |
Definition at line 50 of file AMQFrame.h.
References getBody(), and qpid::framing::AMQBody::getMethod().
| AMQMethodBody* qpid::framing::AMQFrame::getMethod | ( | ) | [inline] |
Definition at line 49 of file AMQFrame.h.
References getBody(), and qpid::framing::AMQBody::getMethod().
| bool qpid::framing::AMQFrame::isFirstFrame | ( | ) | const [inline] |
Definition at line 70 of file AMQFrame.h.
| bool qpid::framing::AMQFrame::isFirstSegment | ( | ) | const [inline] |
Definition at line 68 of file AMQFrame.h.
| bool qpid::framing::AMQFrame::isLastFrame | ( | ) | const [inline] |
Definition at line 71 of file AMQFrame.h.
| bool qpid::framing::AMQFrame::isLastSegment | ( | ) | const [inline] |
Definition at line 69 of file AMQFrame.h.
| void qpid::framing::AMQFrame::setBof | ( | bool | isBof | ) | [inline] |
Definition at line 81 of file AMQFrame.h.
| void qpid::framing::AMQFrame::setBos | ( | bool | isBos | ) | [inline] |
Definition at line 86 of file AMQFrame.h.
| void qpid::framing::AMQFrame::setChannel | ( | ChannelId | c | ) | [inline] |
| void qpid::framing::AMQFrame::setEof | ( | bool | isEof | ) | [inline] |
Definition at line 83 of file AMQFrame.h.
Referenced by qpid::framing::MarkLastSegment::operator()().
| void qpid::framing::AMQFrame::setEos | ( | bool | isEos | ) | [inline] |
Definition at line 88 of file AMQFrame.h.
| void qpid::framing::AMQFrame::setFirstFrame | ( | bool | set = true |
) | [inline] |
Definition at line 75 of file AMQFrame.h.
| void qpid::framing::AMQFrame::setFirstSegment | ( | bool | set = true |
) | [inline] |
Definition at line 73 of file AMQFrame.h.
| void qpid::framing::AMQFrame::setLastFrame | ( | bool | set = true |
) | [inline] |
Definition at line 76 of file AMQFrame.h.
| void qpid::framing::AMQFrame::setLastSegment | ( | bool | set = true |
) | [inline] |
Definition at line 74 of file AMQFrame.h.
uint16_t qpid::framing::AMQFrame::DECODE_SIZE_MIN [static] |
Definition at line 90 of file AMQFrame.h.
1.5.7.1