Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::framing::AMQFrame Class Reference

#include <AMQFrame.h>

List of all members.

Public Member Functions

 AMQFrame (const boost::intrusive_ptr< AMQBody > &b=0)
 AMQFrame (const AMQBody &b)
 ~AMQFrame ()
ChannelId getChannel () const
void setChannel (ChannelId c)
AMQBodygetBody ()
const AMQBodygetBody () const
AMQMethodBodygetMethod ()
const AMQMethodBodygetMethod () const
void setMethod (ClassId c, MethodId m)
template<class T >
TcastBody ()
template<class T >
const TcastBody () 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


Detailed Description

Definition at line 36 of file AMQFrame.h.


Constructor & Destructor Documentation

qpid::framing::AMQFrame::AMQFrame ( const boost::intrusive_ptr< AMQBody > &  b = 0  ) 

qpid::framing::AMQFrame::AMQFrame ( const AMQBody b  ) 

qpid::framing::AMQFrame::~AMQFrame (  ) 


Member Function Documentation

template<class T >
const T* qpid::framing::AMQFrame::castBody (  )  const [inline]

Definition at line 58 of file AMQFrame.h.

References getBody().

template<class T >
T* qpid::framing::AMQFrame::castBody (  )  [inline]

Definition at line 54 of file AMQFrame.h.

References getBody().

bool qpid::framing::AMQFrame::decode ( Buffer buffer  )  [virtual]

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]

Definition at line 44 of file AMQFrame.h.

Referenced by qpid::framing::ChannelHandler::handle().

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.

void qpid::framing::AMQFrame::setMethod ( ClassId  c,
MethodId  m 
)


Member Data Documentation

Definition at line 90 of file AMQFrame.h.


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

Qpid C++ API Reference
Generated on Thu Mar 19 15:24:04 2009 for Qpid C++ Client API by doxygen 1.5.7.1