| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <SessionAttachBody.h>
Public Types | |
| typedef void | ResultType |
Public Member Functions | |
| SessionAttachBody (ProtocolVersion, const string &_name, bool _force) | |
| SessionAttachBody (ProtocolVersion=ProtocolVersion()) | |
| void | setName (const string &_name) |
| const string & | getName () const |
| bool | hasName () const |
| void | clearNameFlag () |
| void | setForce (bool _force) |
| bool | getForce () const |
| 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 = 0x2 |
| static const MethodId | METHOD_ID = 0x1 |
Definition at line 40 of file SessionAttachBody.h.
| typedef void qpid::framing::SessionAttachBody::ResultType |
Definition at line 63 of file SessionAttachBody.h.
| qpid::framing::SessionAttachBody::SessionAttachBody | ( | ProtocolVersion | , | |
| const string & | _name, | |||
| bool | _force | |||
| ) | [inline] |
| qpid::framing::SessionAttachBody::SessionAttachBody | ( | ProtocolVersion | = ProtocolVersion() |
) | [inline] |
Definition at line 54 of file SessionAttachBody.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::SessionAttachBody::accept | ( | MethodBodyConstVisitor & | v | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 70 of file SessionAttachBody.h.
References qpid::framing::MethodBodyConstVisitor::visit().
| ClassId qpid::framing::SessionAttachBody::amqpClassId | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 73 of file SessionAttachBody.h.
References CLASS_ID.
| MethodId qpid::framing::SessionAttachBody::amqpMethodId | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 74 of file SessionAttachBody.h.
References METHOD_ID.
| uint32_t qpid::framing::SessionAttachBody::bodySize | ( | ) | const |
| void qpid::framing::SessionAttachBody::clearNameFlag | ( | ) |
| boost::intrusive_ptr<AMQBody> qpid::framing::SessionAttachBody::clone | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQBody.
Definition at line 71 of file SessionAttachBody.h.
References qpid::framing::BodyFactory::copy().
| void qpid::framing::SessionAttachBody::decode | ( | Buffer & | , | |
| uint32_t | = 0 | |||
| ) | [virtual] |
Implements qpid::framing::AMQBody.
| void qpid::framing::SessionAttachBody::decodeStructBody | ( | Buffer & | , | |
| uint32_t | = 0 | |||
| ) |
| void qpid::framing::SessionAttachBody::encode | ( | Buffer & | ) | const [virtual] |
Implements qpid::framing::AMQBody.
| uint32_t qpid::framing::SessionAttachBody::encodedSize | ( | ) | const [virtual] |
Implements qpid::framing::AMQMethodBody.
| void qpid::framing::SessionAttachBody::encodeStructBody | ( | Buffer & | ) | const |
| bool qpid::framing::SessionAttachBody::getForce | ( | ) | 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::SessionAttachBody::getName | ( | ) | const |
Referenced by invoke().
| bool qpid::framing::SessionAttachBody::hasName | ( | ) | const |
| ResultType qpid::framing::SessionAttachBody::invoke | ( | T & | invocable | ) | const [inline] |
| 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::SessionAttachBody::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::SessionAttachBody::print | ( | std::ostream & | out | ) | const [virtual] |
Implements qpid::framing::AMQBody.
| bool qpid::framing::SessionAttachBody::responseExpected | ( | ) | const [inline, virtual] |
| bool qpid::framing::SessionAttachBody::resultExpected | ( | ) | const [inline, virtual] |
| void qpid::framing::SessionAttachBody::setForce | ( | bool | _force | ) |
Referenced by SessionAttachBody().
| void qpid::framing::SessionAttachBody::setName | ( | const string & | _name | ) |
| virtual void qpid::framing::AMQMethodBody::setSync | ( | bool | ) | const [inline, virtual, inherited] |
| virtual uint8_t qpid::framing::SessionAttachBody::type | ( | ) | const [inline, virtual] |
const ClassId qpid::framing::SessionAttachBody::CLASS_ID = 0x2 [static] |
const MethodId qpid::framing::SessionAttachBody::METHOD_ID = 0x1 [static] |
1.5.7.1