Qpid C++ API Reference
Generated on Mon Jun 7 18:25:39 2010 for Qpid C++ Client API by doxygen 1.6.2-20100208

qpid::framing::QueueDeclareBody Class Reference

#include <QueueDeclareBody.h>

List of all members.

Public Types

typedef void ResultType

Public Member Functions

 QueueDeclareBody (ProtocolVersion, const string &_queue, const string &_alternateExchange, bool _passive, bool _durable, bool _exclusive, bool _autoDelete, const FieldTable &_arguments)
 QueueDeclareBody (ProtocolVersion=ProtocolVersion())
void setQueue (const string &_queue)
const string & getQueue () const
bool hasQueue () const
void clearQueueFlag ()
void setAlternateExchange (const string &_alternateExchange)
const string & getAlternateExchange () const
bool hasAlternateExchange () const
void clearAlternateExchangeFlag ()
void setPassive (bool _passive)
bool getPassive () const
void setDurable (bool _durable)
bool getDurable () const
void setExclusive (bool _exclusive)
bool getExclusive () const
void setAutoDelete (bool _autoDelete)
bool getAutoDelete () const
void setArguments (const FieldTable &_arguments)
const FieldTablegetArguments () const
FieldTablegetArguments ()
bool hasArguments () const
void clearArgumentsFlag ()
template<class T >
ResultType invoke (T &invocable) const
void accept (MethodBodyConstVisitor &v) const
boost::intrusive_ptr< AMQBodyclone () const
ClassId amqpClassId () const
MethodId amqpMethodId () const
bool isContentBearing () const
bool resultExpected () const
bool responseExpected () const
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
virtual void encodeHeader (Buffer &buffer) const
virtual void decodeHeader (Buffer &buffer, uint32_t size=0)
virtual uint32_t headerSize () const
virtual bool isSync () const
virtual void setSync (bool on) const
HeadergetHeader ()
const HeadergetHeader () const
void accept (AMQBodyConstVisitor &v) const
template<class T >
bool isA () const
virtual uint8_t type () const
AMQMethodBodygetMethod ()
const AMQMethodBodygetMethod () const

Static Public Member Functions

static bool match (const AMQBody &, const AMQBody &)
 Match if same type and same class/method ID for methods.

Static Public Attributes

static const ClassId CLASS_ID = 0x8
static const MethodId METHOD_ID = 0x1

Detailed Description

Definition at line 42 of file QueueDeclareBody.h.


Member Typedef Documentation

Definition at line 93 of file QueueDeclareBody.h.


Constructor & Destructor Documentation

qpid::framing::QueueDeclareBody::QueueDeclareBody ( ProtocolVersion  ,
const string &  _queue,
const string &  _alternateExchange,
bool  _passive,
bool  _durable,
bool  _exclusive,
bool  _autoDelete,
const FieldTable _arguments 
) [inline]

Definition at line 50 of file QueueDeclareBody.h.

References setAutoDelete(), setDurable(), setExclusive(), and setPassive().

qpid::framing::QueueDeclareBody::QueueDeclareBody ( ProtocolVersion  = ProtocolVersion()  )  [inline]

Definition at line 70 of file QueueDeclareBody.h.


Member Function Documentation

void qpid::framing::AMQMethodBody::accept ( AMQBodyConstVisitor v  )  const [inline, virtual, inherited]

Implements qpid::framing::AMQBody.

Definition at line 65 of file AMQMethodBody.h.

References qpid::framing::AMQBodyConstVisitor::visit().

void qpid::framing::QueueDeclareBody::accept ( MethodBodyConstVisitor v  )  const [inline, virtual]
ClassId qpid::framing::QueueDeclareBody::amqpClassId (  )  const [inline, virtual]

Implements qpid::framing::AMQMethodBody.

Definition at line 103 of file QueueDeclareBody.h.

References CLASS_ID.

MethodId qpid::framing::QueueDeclareBody::amqpMethodId (  )  const [inline, virtual]

Implements qpid::framing::AMQMethodBody.

Definition at line 104 of file QueueDeclareBody.h.

References METHOD_ID.

uint32_t qpid::framing::QueueDeclareBody::bodySize (  )  const
void qpid::framing::QueueDeclareBody::clearAlternateExchangeFlag (  ) 
void qpid::framing::QueueDeclareBody::clearArgumentsFlag (  ) 
void qpid::framing::QueueDeclareBody::clearQueueFlag (  ) 
boost::intrusive_ptr<AMQBody> qpid::framing::QueueDeclareBody::clone (  )  const [inline, virtual]

Implements qpid::framing::AMQBody.

Definition at line 101 of file QueueDeclareBody.h.

References qpid::framing::BodyFactory::copy().

void qpid::framing::QueueDeclareBody::decode ( Buffer ,
uint32_t  = 0 
) [virtual]
virtual void qpid::framing::ModelMethod::decodeHeader ( Buffer buffer,
uint32_t  size = 0 
) [inline, virtual, inherited]

Definition at line 37 of file ModelMethod.h.

References qpid::framing::Header::decode().

void qpid::framing::QueueDeclareBody::decodeStructBody ( Buffer ,
uint32_t  = 0 
)
void qpid::framing::QueueDeclareBody::encode ( Buffer  )  const [virtual]
uint32_t qpid::framing::QueueDeclareBody::encodedSize (  )  const [virtual]
virtual void qpid::framing::ModelMethod::encodeHeader ( Buffer buffer  )  const [inline, virtual, inherited]

Definition at line 36 of file ModelMethod.h.

References qpid::framing::Header::encode().

void qpid::framing::QueueDeclareBody::encodeStructBody ( Buffer  )  const
const string& qpid::framing::QueueDeclareBody::getAlternateExchange (  )  const

Referenced by invoke().

FieldTable& qpid::framing::QueueDeclareBody::getArguments (  ) 
const FieldTable& qpid::framing::QueueDeclareBody::getArguments (  )  const

Referenced by invoke().

bool qpid::framing::QueueDeclareBody::getAutoDelete (  )  const

Referenced by invoke().

bool qpid::framing::QueueDeclareBody::getDurable (  )  const

Referenced by invoke().

bool qpid::framing::QueueDeclareBody::getExclusive (  )  const

Referenced by invoke().

const Header& qpid::framing::ModelMethod::getHeader (  )  const [inline, inherited]

Definition at line 42 of file ModelMethod.h.

Header& qpid::framing::ModelMethod::getHeader (  )  [inline, inherited]

Definition at line 41 of file ModelMethod.h.

const AMQMethodBody* qpid::framing::AMQMethodBody::getMethod (  )  const [inline, virtual, inherited]

Reimplemented from qpid::framing::AMQBody.

Definition at line 64 of file AMQMethodBody.h.

AMQMethodBody* qpid::framing::AMQMethodBody::getMethod (  )  [inline, virtual, inherited]

Reimplemented from qpid::framing::AMQBody.

Definition at line 63 of file AMQMethodBody.h.

bool qpid::framing::QueueDeclareBody::getPassive (  )  const

Referenced by invoke().

const string& qpid::framing::QueueDeclareBody::getQueue (  )  const

Referenced by invoke().

bool qpid::framing::QueueDeclareBody::hasAlternateExchange (  )  const
bool qpid::framing::QueueDeclareBody::hasArguments (  )  const
bool qpid::framing::QueueDeclareBody::hasQueue (  )  const
virtual uint32_t qpid::framing::ModelMethod::headerSize (  )  const [inline, virtual, inherited]

Definition at line 38 of file ModelMethod.h.

References qpid::framing::Header::encodedSize().

template<class T >
ResultType qpid::framing::QueueDeclareBody::invoke ( T &  invocable  )  const [inline]
template<class T >
bool qpid::framing::AMQMethodBody::isA (  )  const [inline, inherited]
bool qpid::framing::QueueDeclareBody::isContentBearing (  )  const [inline, virtual]

Implements qpid::framing::AMQMethodBody.

Definition at line 105 of file QueueDeclareBody.h.

virtual bool qpid::framing::ModelMethod::isSync (  )  const [inline, virtual, inherited]

Reimplemented from qpid::framing::AMQMethodBody.

Definition at line 39 of file ModelMethod.h.

References qpid::framing::Header::getSync().

static bool qpid::framing::AMQBody::match ( const AMQBody ,
const AMQBody  
) [static, inherited]

Match if same type and same class/method ID for methods.

void qpid::framing::QueueDeclareBody::print ( std::ostream &  out  )  const [virtual]
bool qpid::framing::QueueDeclareBody::responseExpected (  )  const [inline, virtual]

Implements qpid::framing::AMQMethodBody.

Definition at line 107 of file QueueDeclareBody.h.

bool qpid::framing::QueueDeclareBody::resultExpected (  )  const [inline, virtual]

Implements qpid::framing::AMQMethodBody.

Definition at line 106 of file QueueDeclareBody.h.

void qpid::framing::QueueDeclareBody::setAlternateExchange ( const string &  _alternateExchange  ) 
void qpid::framing::QueueDeclareBody::setArguments ( const FieldTable _arguments  ) 
void qpid::framing::QueueDeclareBody::setAutoDelete ( bool  _autoDelete  ) 

Referenced by QueueDeclareBody().

void qpid::framing::QueueDeclareBody::setDurable ( bool  _durable  ) 

Referenced by QueueDeclareBody().

void qpid::framing::QueueDeclareBody::setExclusive ( bool  _exclusive  ) 

Referenced by QueueDeclareBody().

void qpid::framing::QueueDeclareBody::setPassive ( bool  _passive  ) 

Referenced by QueueDeclareBody().

void qpid::framing::QueueDeclareBody::setQueue ( const string &  _queue  ) 
virtual void qpid::framing::ModelMethod::setSync ( bool  on  )  const [inline, virtual, inherited]

Reimplemented from qpid::framing::AMQMethodBody.

Definition at line 40 of file ModelMethod.h.

References qpid::framing::Header::setSync().

virtual uint8_t qpid::framing::AMQMethodBody::type (  )  const [inline, virtual, inherited]

Member Data Documentation

Definition at line 48 of file QueueDeclareBody.h.

Referenced by amqpClassId().

Definition at line 49 of file QueueDeclareBody.h.

Referenced by amqpMethodId().


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

Qpid C++ API Reference
Generated on Mon Jun 7 18:25:39 2010 for Qpid C++ Client API by doxygen 1.6.2-20100208