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

qpid::framing::ConnectionSecureBody Class Reference

#include <ConnectionSecureBody.h>

List of all members.

Public Types

typedef void ResultType

Public Member Functions

 ConnectionSecureBody (ProtocolVersion, const string &_challenge)
 ConnectionSecureBody (ProtocolVersion=ProtocolVersion())
void setChallenge (const string &_challenge)
const string & getChallenge () const
bool hasChallenge () const
void clearChallengeFlag ()
virtual uint8_t type () const
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
void accept (AMQBodyConstVisitor &v) const
template<class T >
bool isA () const
virtual bool isSync () const
virtual void setSync (bool) 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 = 0x1
static const MethodId METHOD_ID = 0x3


Detailed Description

Definition at line 40 of file ConnectionSecureBody.h.


Member Typedef Documentation

Definition at line 59 of file ConnectionSecureBody.h.


Constructor & Destructor Documentation

qpid::framing::ConnectionSecureBody::ConnectionSecureBody ( ProtocolVersion  ,
const string &  _challenge 
) [inline]

Definition at line 46 of file ConnectionSecureBody.h.

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

Definition at line 52 of file ConnectionSecureBody.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::ConnectionSecureBody::accept ( MethodBodyConstVisitor v  )  const [inline, virtual]

ClassId qpid::framing::ConnectionSecureBody::amqpClassId (  )  const [inline, virtual]

Implements qpid::framing::AMQMethodBody.

Definition at line 69 of file ConnectionSecureBody.h.

References CLASS_ID.

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

Implements qpid::framing::AMQMethodBody.

Definition at line 70 of file ConnectionSecureBody.h.

References METHOD_ID.

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

void qpid::framing::ConnectionSecureBody::clearChallengeFlag (  ) 

boost::intrusive_ptr<AMQBody> qpid::framing::ConnectionSecureBody::clone (  )  const [inline, virtual]

Implements qpid::framing::AMQBody.

Definition at line 67 of file ConnectionSecureBody.h.

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

void qpid::framing::ConnectionSecureBody::decode ( Buffer ,
uint32_t  = 0 
) [virtual]

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

void qpid::framing::ConnectionSecureBody::encode ( Buffer  )  const [virtual]

uint32_t qpid::framing::ConnectionSecureBody::encodedSize (  )  const [virtual]

void qpid::framing::ConnectionSecureBody::encodeStructBody ( Buffer  )  const

const string& qpid::framing::ConnectionSecureBody::getChallenge (  )  const

Referenced by invoke().

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::ConnectionSecureBody::hasChallenge (  )  const

template<class T >
ResultType qpid::framing::ConnectionSecureBody::invoke ( T &  invocable  )  const [inline]

Definition at line 61 of file ConnectionSecureBody.h.

References getChallenge().

template<class T >
bool qpid::framing::AMQMethodBody::isA (  )  const [inline, inherited]

bool qpid::framing::ConnectionSecureBody::isContentBearing (  )  const [inline, virtual]

Implements qpid::framing::AMQMethodBody.

Definition at line 71 of file ConnectionSecureBody.h.

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

Reimplemented in qpid::framing::ModelMethod.

Definition at line 60 of file AMQMethodBody.h.

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::ConnectionSecureBody::print ( std::ostream &  out  )  const [virtual]

bool qpid::framing::ConnectionSecureBody::responseExpected (  )  const [inline, virtual]

Implements qpid::framing::AMQMethodBody.

Definition at line 73 of file ConnectionSecureBody.h.

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

Implements qpid::framing::AMQMethodBody.

Definition at line 72 of file ConnectionSecureBody.h.

void qpid::framing::ConnectionSecureBody::setChallenge ( const string &  _challenge  ) 

virtual void qpid::framing::AMQMethodBody::setSync ( bool   )  const [inline, virtual, inherited]

Reimplemented in qpid::framing::ModelMethod.

Definition at line 61 of file AMQMethodBody.h.

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

Reimplemented from qpid::framing::AMQMethodBody.

Definition at line 58 of file ConnectionSecureBody.h.


Member Data Documentation

Definition at line 44 of file ConnectionSecureBody.h.

Referenced by amqpClassId().

Definition at line 45 of file ConnectionSecureBody.h.

Referenced by amqpMethodId().


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

Qpid C++ API Reference
Generated on Mon Mar 16 13:47:32 2009 for Qpid C++ Client API by doxygen 1.5.8