Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <ConnectionStartOkBody.h>
Public Types | |
typedef void | ResultType |
Public Member Functions | |
ConnectionStartOkBody (ProtocolVersion, const FieldTable &_clientProperties, const string &_mechanism, const string &_response, const string &_locale) | |
ConnectionStartOkBody (ProtocolVersion=ProtocolVersion()) | |
void | setClientProperties (const FieldTable &_clientProperties) |
const FieldTable & | getClientProperties () const |
FieldTable & | getClientProperties () |
bool | hasClientProperties () const |
void | clearClientPropertiesFlag () |
void | setMechanism (const string &_mechanism) |
const string & | getMechanism () const |
bool | hasMechanism () const |
void | clearMechanismFlag () |
void | setResponse (const string &_response) |
const string & | getResponse () const |
bool | hasResponse () const |
void | clearResponseFlag () |
void | setLocale (const string &_locale) |
const string & | getLocale () const |
bool | hasLocale () const |
void | clearLocaleFlag () |
virtual uint8_t | type () const |
template<class T > | |
ResultType | invoke (T &invocable) const |
void | accept (MethodBodyConstVisitor &v) const |
boost::intrusive_ptr< AMQBody > | clone () 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 |
AMQMethodBody * | getMethod () |
const AMQMethodBody * | getMethod () 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 = 0x2 |
Definition at line 40 of file ConnectionStartOkBody.h.
typedef void qpid::framing::ConnectionStartOkBody::ResultType |
Definition at line 84 of file ConnectionStartOkBody.h.
qpid::framing::ConnectionStartOkBody::ConnectionStartOkBody | ( | ProtocolVersion | , | |
const FieldTable & | _clientProperties, | |||
const string & | _mechanism, | |||
const string & | _response, | |||
const string & | _locale | |||
) | [inline] |
Definition at line 49 of file ConnectionStartOkBody.h.
qpid::framing::ConnectionStartOkBody::ConnectionStartOkBody | ( | ProtocolVersion | = ProtocolVersion() |
) | [inline] |
Definition at line 64 of file ConnectionStartOkBody.h.
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::ConnectionStartOkBody::accept | ( | MethodBodyConstVisitor & | v | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 91 of file ConnectionStartOkBody.h.
References qpid::framing::MethodBodyConstVisitor::visit().
ClassId qpid::framing::ConnectionStartOkBody::amqpClassId | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 94 of file ConnectionStartOkBody.h.
References CLASS_ID.
MethodId qpid::framing::ConnectionStartOkBody::amqpMethodId | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 95 of file ConnectionStartOkBody.h.
References METHOD_ID.
uint32_t qpid::framing::ConnectionStartOkBody::bodySize | ( | ) | const |
void qpid::framing::ConnectionStartOkBody::clearClientPropertiesFlag | ( | ) |
void qpid::framing::ConnectionStartOkBody::clearLocaleFlag | ( | ) |
void qpid::framing::ConnectionStartOkBody::clearMechanismFlag | ( | ) |
void qpid::framing::ConnectionStartOkBody::clearResponseFlag | ( | ) |
boost::intrusive_ptr<AMQBody> qpid::framing::ConnectionStartOkBody::clone | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQBody.
Definition at line 92 of file ConnectionStartOkBody.h.
References qpid::framing::BodyFactory::copy().
void qpid::framing::ConnectionStartOkBody::decode | ( | Buffer & | , | |
uint32_t | = 0 | |||
) | [virtual] |
Implements qpid::framing::AMQBody.
void qpid::framing::ConnectionStartOkBody::decodeStructBody | ( | Buffer & | , | |
uint32_t | = 0 | |||
) |
void qpid::framing::ConnectionStartOkBody::encode | ( | Buffer & | ) | const [virtual] |
Implements qpid::framing::AMQBody.
uint32_t qpid::framing::ConnectionStartOkBody::encodedSize | ( | ) | const [virtual] |
Implements qpid::framing::AMQMethodBody.
void qpid::framing::ConnectionStartOkBody::encodeStructBody | ( | Buffer & | ) | const |
FieldTable& qpid::framing::ConnectionStartOkBody::getClientProperties | ( | ) |
const FieldTable& qpid::framing::ConnectionStartOkBody::getClientProperties | ( | ) | const |
Referenced by invoke().
const string& qpid::framing::ConnectionStartOkBody::getLocale | ( | ) | const |
Referenced by invoke().
const string& qpid::framing::ConnectionStartOkBody::getMechanism | ( | ) | const |
Referenced by invoke().
const AMQMethodBody* qpid::framing::AMQMethodBody::getMethod | ( | ) | const [inline, virtual, inherited] |
AMQMethodBody* qpid::framing::AMQMethodBody::getMethod | ( | ) | [inline, virtual, inherited] |
const string& qpid::framing::ConnectionStartOkBody::getResponse | ( | ) | const |
Referenced by invoke().
bool qpid::framing::ConnectionStartOkBody::hasClientProperties | ( | ) | const |
bool qpid::framing::ConnectionStartOkBody::hasLocale | ( | ) | const |
bool qpid::framing::ConnectionStartOkBody::hasMechanism | ( | ) | const |
bool qpid::framing::ConnectionStartOkBody::hasResponse | ( | ) | const |
ResultType qpid::framing::ConnectionStartOkBody::invoke | ( | T & | invocable | ) | const [inline] |
Definition at line 86 of file ConnectionStartOkBody.h.
References getClientProperties(), getLocale(), getMechanism(), and getResponse().
bool qpid::framing::AMQMethodBody::isA | ( | ) | const [inline, inherited] |
Definition at line 53 of file AMQMethodBody.h.
References qpid::framing::AMQMethodBody::amqpClassId(), and qpid::framing::AMQMethodBody::amqpMethodId().
Referenced by qpid::framing::FrameSet::as(), and qpid::framing::FrameSet::isA().
bool qpid::framing::ConnectionStartOkBody::isContentBearing | ( | ) | const [inline, virtual] |
virtual bool qpid::framing::AMQMethodBody::isSync | ( | ) | const [inline, virtual, inherited] |
Match if same type and same class/method ID for methods.
void qpid::framing::ConnectionStartOkBody::print | ( | std::ostream & | out | ) | const [virtual] |
Implements qpid::framing::AMQBody.
bool qpid::framing::ConnectionStartOkBody::responseExpected | ( | ) | const [inline, virtual] |
bool qpid::framing::ConnectionStartOkBody::resultExpected | ( | ) | const [inline, virtual] |
void qpid::framing::ConnectionStartOkBody::setClientProperties | ( | const FieldTable & | _clientProperties | ) |
void qpid::framing::ConnectionStartOkBody::setLocale | ( | const string & | _locale | ) |
void qpid::framing::ConnectionStartOkBody::setMechanism | ( | const string & | _mechanism | ) |
void qpid::framing::ConnectionStartOkBody::setResponse | ( | const string & | _response | ) |
virtual void qpid::framing::AMQMethodBody::setSync | ( | bool | ) | const [inline, virtual, inherited] |
virtual uint8_t qpid::framing::ConnectionStartOkBody::type | ( | ) | const [inline, virtual] |
Reimplemented from qpid::framing::AMQMethodBody.
Definition at line 83 of file ConnectionStartOkBody.h.
const ClassId qpid::framing::ConnectionStartOkBody::CLASS_ID = 0x1 [static] |
const MethodId qpid::framing::ConnectionStartOkBody::METHOD_ID = 0x2 [static] |