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

qpid::framing::ConnectionSecureOkBody Class Reference

#include <ConnectionSecureOkBody.h>

List of all members.

Public Types

typedef void ResultType

Public Member Functions

 ConnectionSecureOkBody (ProtocolVersion, const string &_response)
 ConnectionSecureOkBody (ProtocolVersion=ProtocolVersion())
void setResponse (const string &_response)
const string & getResponse () const
bool hasResponse () const
void clearResponseFlag ()
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 = 0x4


Detailed Description

Definition at line 40 of file ConnectionSecureOkBody.h.


Member Typedef Documentation

Definition at line 59 of file ConnectionSecureOkBody.h.


Constructor & Destructor Documentation

qpid::framing::ConnectionSecureOkBody::ConnectionSecureOkBody ( ProtocolVersion  ,
const string &  _response 
) [inline]

Definition at line 46 of file ConnectionSecureOkBody.h.

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

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

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

Implements qpid::framing::AMQMethodBody.

Definition at line 69 of file ConnectionSecureOkBody.h.

References CLASS_ID.

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

Implements qpid::framing::AMQMethodBody.

Definition at line 70 of file ConnectionSecureOkBody.h.

References METHOD_ID.

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

void qpid::framing::ConnectionSecureOkBody::clearResponseFlag (  ) 

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

Implements qpid::framing::AMQBody.

Definition at line 67 of file ConnectionSecureOkBody.h.

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

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

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

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

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

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

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.

const string& qpid::framing::ConnectionSecureOkBody::getResponse (  )  const

Referenced by invoke().

bool qpid::framing::ConnectionSecureOkBody::hasResponse (  )  const

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

Definition at line 61 of file ConnectionSecureOkBody.h.

References getResponse().

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

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

Implements qpid::framing::AMQMethodBody.

Definition at line 71 of file ConnectionSecureOkBody.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::ConnectionSecureOkBody::print ( std::ostream &  out  )  const [virtual]

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

Implements qpid::framing::AMQMethodBody.

Definition at line 73 of file ConnectionSecureOkBody.h.

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

Implements qpid::framing::AMQMethodBody.

Definition at line 72 of file ConnectionSecureOkBody.h.

void qpid::framing::ConnectionSecureOkBody::setResponse ( const string &  _response  ) 

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::ConnectionSecureOkBody::type (  )  const [inline, virtual]

Reimplemented from qpid::framing::AMQMethodBody.

Definition at line 58 of file ConnectionSecureOkBody.h.


Member Data Documentation

Definition at line 44 of file ConnectionSecureOkBody.h.

Referenced by amqpClassId().

Definition at line 45 of file ConnectionSecureOkBody.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:33 2009 for Qpid C++ Client API by doxygen 1.5.8