Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <ConnectionTuneOkBody.h>
Public Types | |
typedef void | ResultType |
Public Member Functions | |
ConnectionTuneOkBody (ProtocolVersion, uint16_t _channelMax, uint16_t _maxFrameSize, uint16_t _heartbeat) | |
ConnectionTuneOkBody (ProtocolVersion=ProtocolVersion()) | |
void | setChannelMax (uint16_t _channelMax) |
uint16_t | getChannelMax () const |
bool | hasChannelMax () const |
void | clearChannelMaxFlag () |
void | setMaxFrameSize (uint16_t _maxFrameSize) |
uint16_t | getMaxFrameSize () const |
bool | hasMaxFrameSize () const |
void | clearMaxFrameSizeFlag () |
void | setHeartbeat (uint16_t _heartbeat) |
uint16_t | getHeartbeat () const |
bool | hasHeartbeat () const |
void | clearHeartbeatFlag () |
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 = 0x6 |
Definition at line 40 of file ConnectionTuneOkBody.h.
typedef void qpid::framing::ConnectionTuneOkBody::ResultType |
Definition at line 75 of file ConnectionTuneOkBody.h.
qpid::framing::ConnectionTuneOkBody::ConnectionTuneOkBody | ( | ProtocolVersion | , | |
uint16_t | _channelMax, | |||
uint16_t | _maxFrameSize, | |||
uint16_t | _heartbeat | |||
) | [inline] |
Definition at line 48 of file ConnectionTuneOkBody.h.
qpid::framing::ConnectionTuneOkBody::ConnectionTuneOkBody | ( | ProtocolVersion | = ProtocolVersion() |
) | [inline] |
Definition at line 60 of file ConnectionTuneOkBody.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::ConnectionTuneOkBody::accept | ( | MethodBodyConstVisitor & | v | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 82 of file ConnectionTuneOkBody.h.
References qpid::framing::MethodBodyConstVisitor::visit().
ClassId qpid::framing::ConnectionTuneOkBody::amqpClassId | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 85 of file ConnectionTuneOkBody.h.
References CLASS_ID.
MethodId qpid::framing::ConnectionTuneOkBody::amqpMethodId | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 86 of file ConnectionTuneOkBody.h.
References METHOD_ID.
uint32_t qpid::framing::ConnectionTuneOkBody::bodySize | ( | ) | const |
void qpid::framing::ConnectionTuneOkBody::clearChannelMaxFlag | ( | ) |
void qpid::framing::ConnectionTuneOkBody::clearHeartbeatFlag | ( | ) |
void qpid::framing::ConnectionTuneOkBody::clearMaxFrameSizeFlag | ( | ) |
boost::intrusive_ptr<AMQBody> qpid::framing::ConnectionTuneOkBody::clone | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQBody.
Definition at line 83 of file ConnectionTuneOkBody.h.
References qpid::framing::BodyFactory::copy().
void qpid::framing::ConnectionTuneOkBody::decode | ( | Buffer & | , | |
uint32_t | = 0 | |||
) | [virtual] |
Implements qpid::framing::AMQBody.
void qpid::framing::ConnectionTuneOkBody::decodeStructBody | ( | Buffer & | , | |
uint32_t | = 0 | |||
) |
void qpid::framing::ConnectionTuneOkBody::encode | ( | Buffer & | ) | const [virtual] |
Implements qpid::framing::AMQBody.
uint32_t qpid::framing::ConnectionTuneOkBody::encodedSize | ( | ) | const [virtual] |
Implements qpid::framing::AMQMethodBody.
void qpid::framing::ConnectionTuneOkBody::encodeStructBody | ( | Buffer & | ) | const |
uint16_t qpid::framing::ConnectionTuneOkBody::getChannelMax | ( | ) | const |
Referenced by invoke().
uint16_t qpid::framing::ConnectionTuneOkBody::getHeartbeat | ( | ) | const |
Referenced by invoke().
uint16_t qpid::framing::ConnectionTuneOkBody::getMaxFrameSize | ( | ) | const |
Referenced by invoke().
const AMQMethodBody* qpid::framing::AMQMethodBody::getMethod | ( | ) | const [inline, virtual, inherited] |
AMQMethodBody* qpid::framing::AMQMethodBody::getMethod | ( | ) | [inline, virtual, inherited] |
bool qpid::framing::ConnectionTuneOkBody::hasChannelMax | ( | ) | const |
bool qpid::framing::ConnectionTuneOkBody::hasHeartbeat | ( | ) | const |
bool qpid::framing::ConnectionTuneOkBody::hasMaxFrameSize | ( | ) | const |
ResultType qpid::framing::ConnectionTuneOkBody::invoke | ( | T & | invocable | ) | const [inline] |
Definition at line 77 of file ConnectionTuneOkBody.h.
References getChannelMax(), getHeartbeat(), and getMaxFrameSize().
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::ConnectionTuneOkBody::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::ConnectionTuneOkBody::print | ( | std::ostream & | out | ) | const [virtual] |
Implements qpid::framing::AMQBody.
bool qpid::framing::ConnectionTuneOkBody::responseExpected | ( | ) | const [inline, virtual] |
bool qpid::framing::ConnectionTuneOkBody::resultExpected | ( | ) | const [inline, virtual] |
void qpid::framing::ConnectionTuneOkBody::setChannelMax | ( | uint16_t | _channelMax | ) |
void qpid::framing::ConnectionTuneOkBody::setHeartbeat | ( | uint16_t | _heartbeat | ) |
void qpid::framing::ConnectionTuneOkBody::setMaxFrameSize | ( | uint16_t | _maxFrameSize | ) |
virtual void qpid::framing::AMQMethodBody::setSync | ( | bool | ) | const [inline, virtual, inherited] |
virtual uint8_t qpid::framing::ConnectionTuneOkBody::type | ( | ) | const [inline, virtual] |
Reimplemented from qpid::framing::AMQMethodBody.
Definition at line 74 of file ConnectionTuneOkBody.h.
const ClassId qpid::framing::ConnectionTuneOkBody::CLASS_ID = 0x1 [static] |
const MethodId qpid::framing::ConnectionTuneOkBody::METHOD_ID = 0x6 [static] |