| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <SessionExpectedBody.h>
Public Types | |
| typedef void | ResultType |
Public Member Functions | |
| SessionExpectedBody (ProtocolVersion, const SequenceSet &_commands, const Array &_fragments) | |
| SessionExpectedBody (ProtocolVersion=ProtocolVersion()) | |
| void | setCommands (const SequenceSet &_commands) |
| const SequenceSet & | getCommands () const |
| bool | hasCommands () const |
| void | clearCommandsFlag () |
| void | setFragments (const Array &_fragments) |
| const Array & | getFragments () const |
| bool | hasFragments () const |
| void | clearFragmentsFlag () |
| 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 = 0x8 |
Definition at line 40 of file SessionExpectedBody.h.
| typedef void qpid::framing::SessionExpectedBody::ResultType |
Definition at line 67 of file SessionExpectedBody.h.
| qpid::framing::SessionExpectedBody::SessionExpectedBody | ( | ProtocolVersion | , | |
| const SequenceSet & | _commands, | |||
| const Array & | _fragments | |||
| ) | [inline] |
Definition at line 47 of file SessionExpectedBody.h.
| qpid::framing::SessionExpectedBody::SessionExpectedBody | ( | ProtocolVersion | = ProtocolVersion() |
) | [inline] |
Definition at line 56 of file SessionExpectedBody.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::SessionExpectedBody::accept | ( | MethodBodyConstVisitor & | v | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 74 of file SessionExpectedBody.h.
References qpid::framing::MethodBodyConstVisitor::visit().
| ClassId qpid::framing::SessionExpectedBody::amqpClassId | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 77 of file SessionExpectedBody.h.
References CLASS_ID.
| MethodId qpid::framing::SessionExpectedBody::amqpMethodId | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 78 of file SessionExpectedBody.h.
References METHOD_ID.
| uint32_t qpid::framing::SessionExpectedBody::bodySize | ( | ) | const |
| void qpid::framing::SessionExpectedBody::clearCommandsFlag | ( | ) |
| void qpid::framing::SessionExpectedBody::clearFragmentsFlag | ( | ) |
| boost::intrusive_ptr<AMQBody> qpid::framing::SessionExpectedBody::clone | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQBody.
Definition at line 75 of file SessionExpectedBody.h.
References qpid::framing::BodyFactory::copy().
| void qpid::framing::SessionExpectedBody::decode | ( | Buffer & | , | |
| uint32_t | = 0 | |||
| ) | [virtual] |
Implements qpid::framing::AMQBody.
| void qpid::framing::SessionExpectedBody::decodeStructBody | ( | Buffer & | , | |
| uint32_t | = 0 | |||
| ) |
| void qpid::framing::SessionExpectedBody::encode | ( | Buffer & | ) | const [virtual] |
Implements qpid::framing::AMQBody.
| uint32_t qpid::framing::SessionExpectedBody::encodedSize | ( | ) | const [virtual] |
Implements qpid::framing::AMQMethodBody.
| void qpid::framing::SessionExpectedBody::encodeStructBody | ( | Buffer & | ) | const |
| const SequenceSet& qpid::framing::SessionExpectedBody::getCommands | ( | ) | 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::SessionExpectedBody::hasCommands | ( | ) | const |
| bool qpid::framing::SessionExpectedBody::hasFragments | ( | ) | const |
| ResultType qpid::framing::SessionExpectedBody::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::SessionExpectedBody::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::SessionExpectedBody::print | ( | std::ostream & | out | ) | const [virtual] |
Implements qpid::framing::AMQBody.
| bool qpid::framing::SessionExpectedBody::responseExpected | ( | ) | const [inline, virtual] |
| bool qpid::framing::SessionExpectedBody::resultExpected | ( | ) | const [inline, virtual] |
| void qpid::framing::SessionExpectedBody::setCommands | ( | const SequenceSet & | _commands | ) |
| void qpid::framing::SessionExpectedBody::setFragments | ( | const Array & | _fragments | ) |
| virtual void qpid::framing::AMQMethodBody::setSync | ( | bool | ) | const [inline, virtual, inherited] |
| virtual uint8_t qpid::framing::SessionExpectedBody::type | ( | ) | const [inline, virtual] |
Reimplemented from qpid::framing::AMQMethodBody.
Definition at line 66 of file SessionExpectedBody.h.
const ClassId qpid::framing::SessionExpectedBody::CLASS_ID = 0x2 [static] |
const MethodId qpid::framing::SessionExpectedBody::METHOD_ID = 0x8 [static] |
1.5.7.1