Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <ExecutionExceptionBody.h>
Inherits qpid::framing::ModelMethod.
Public Types | |
typedef void | ResultType |
Public Member Functions | |
ExecutionExceptionBody (ProtocolVersion, uint16_t _errorCode, const SequenceNumber &_commandId, uint8_t _classCode, uint8_t _commandCode, uint8_t _fieldIndex, const string &_description, const FieldTable &_errorInfo) | |
ExecutionExceptionBody (ProtocolVersion=ProtocolVersion()) | |
void | setErrorCode (uint16_t _errorCode) |
uint16_t | getErrorCode () const |
bool | hasErrorCode () const |
void | clearErrorCodeFlag () |
void | setCommandId (const SequenceNumber &_commandId) |
SequenceNumber | getCommandId () const |
bool | hasCommandId () const |
void | clearCommandIdFlag () |
void | setClassCode (uint8_t _classCode) |
uint8_t | getClassCode () const |
bool | hasClassCode () const |
void | clearClassCodeFlag () |
void | setCommandCode (uint8_t _commandCode) |
uint8_t | getCommandCode () const |
bool | hasCommandCode () const |
void | clearCommandCodeFlag () |
void | setFieldIndex (uint8_t _fieldIndex) |
uint8_t | getFieldIndex () const |
bool | hasFieldIndex () const |
void | clearFieldIndexFlag () |
void | setDescription (const string &_description) |
const string & | getDescription () const |
bool | hasDescription () const |
void | clearDescriptionFlag () |
void | setErrorInfo (const FieldTable &_errorInfo) |
const FieldTable & | getErrorInfo () const |
FieldTable & | getErrorInfo () |
bool | hasErrorInfo () const |
void | clearErrorInfoFlag () |
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 |
virtual void | encodeHeader (Buffer &buffer) const |
virtual void | decodeHeader (Buffer &buffer, uint32_t size=0) |
virtual uint32_t | headerSize () const |
virtual bool | isSync () const |
virtual void | setSync (bool on) const |
Header & | getHeader () |
const Header & | getHeader () const |
void | accept (AMQBodyConstVisitor &v) const |
template<class T> | |
bool | isA () const |
virtual uint8_t | type () 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 = 0x3 |
static const MethodId | METHOD_ID = 0x3 |
Definition at line 41 of file ExecutionExceptionBody.h.
typedef void qpid::framing::ExecutionExceptionBody::ResultType |
Definition at line 108 of file ExecutionExceptionBody.h.
qpid::framing::ExecutionExceptionBody::ExecutionExceptionBody | ( | ProtocolVersion | , | |
uint16_t | _errorCode, | |||
const SequenceNumber & | _commandId, | |||
uint8_t | _classCode, | |||
uint8_t | _commandCode, | |||
uint8_t | _fieldIndex, | |||
const string & | _description, | |||
const FieldTable & | _errorInfo | |||
) | [inline] |
Definition at line 53 of file ExecutionExceptionBody.h.
qpid::framing::ExecutionExceptionBody::ExecutionExceptionBody | ( | ProtocolVersion | = ProtocolVersion() |
) | [inline] |
Definition at line 77 of file ExecutionExceptionBody.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::ExecutionExceptionBody::accept | ( | MethodBodyConstVisitor & | v | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 115 of file ExecutionExceptionBody.h.
References qpid::framing::MethodBodyConstVisitor::visit().
ClassId qpid::framing::ExecutionExceptionBody::amqpClassId | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 118 of file ExecutionExceptionBody.h.
References CLASS_ID.
MethodId qpid::framing::ExecutionExceptionBody::amqpMethodId | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQMethodBody.
Definition at line 119 of file ExecutionExceptionBody.h.
References METHOD_ID.
uint32_t qpid::framing::ExecutionExceptionBody::bodySize | ( | ) | const |
void qpid::framing::ExecutionExceptionBody::clearClassCodeFlag | ( | ) |
void qpid::framing::ExecutionExceptionBody::clearCommandCodeFlag | ( | ) |
void qpid::framing::ExecutionExceptionBody::clearCommandIdFlag | ( | ) |
void qpid::framing::ExecutionExceptionBody::clearDescriptionFlag | ( | ) |
void qpid::framing::ExecutionExceptionBody::clearErrorCodeFlag | ( | ) |
void qpid::framing::ExecutionExceptionBody::clearErrorInfoFlag | ( | ) |
void qpid::framing::ExecutionExceptionBody::clearFieldIndexFlag | ( | ) |
boost::intrusive_ptr<AMQBody> qpid::framing::ExecutionExceptionBody::clone | ( | ) | const [inline, virtual] |
Implements qpid::framing::AMQBody.
Definition at line 116 of file ExecutionExceptionBody.h.
References qpid::framing::BodyFactory::copy().
void qpid::framing::ExecutionExceptionBody::decode | ( | Buffer & | , | |
uint32_t | = 0 | |||
) | [virtual] |
Implements qpid::framing::AMQBody.
virtual void qpid::framing::ModelMethod::decodeHeader | ( | Buffer & | buffer, | |
uint32_t | size = 0 | |||
) | [inline, virtual, inherited] |
void qpid::framing::ExecutionExceptionBody::decodeStructBody | ( | Buffer & | , | |
uint32_t | = 0 | |||
) |
void qpid::framing::ExecutionExceptionBody::encode | ( | Buffer & | ) | const [virtual] |
Implements qpid::framing::AMQBody.
uint32_t qpid::framing::ExecutionExceptionBody::encodedSize | ( | ) | const [virtual] |
Implements qpid::framing::AMQMethodBody.
virtual void qpid::framing::ModelMethod::encodeHeader | ( | Buffer & | buffer | ) | const [inline, virtual, inherited] |
void qpid::framing::ExecutionExceptionBody::encodeStructBody | ( | Buffer & | ) | const |
uint8_t qpid::framing::ExecutionExceptionBody::getClassCode | ( | ) | const |
Referenced by invoke().
uint8_t qpid::framing::ExecutionExceptionBody::getCommandCode | ( | ) | const |
Referenced by invoke().
SequenceNumber qpid::framing::ExecutionExceptionBody::getCommandId | ( | ) | const |
Referenced by invoke().
const string& qpid::framing::ExecutionExceptionBody::getDescription | ( | ) | const |
Referenced by invoke().
uint16_t qpid::framing::ExecutionExceptionBody::getErrorCode | ( | ) | const |
Referenced by invoke().
FieldTable& qpid::framing::ExecutionExceptionBody::getErrorInfo | ( | ) |
const FieldTable& qpid::framing::ExecutionExceptionBody::getErrorInfo | ( | ) | const |
Referenced by invoke().
uint8_t qpid::framing::ExecutionExceptionBody::getFieldIndex | ( | ) | const |
Referenced by invoke().
const Header& qpid::framing::ModelMethod::getHeader | ( | ) | const [inline, inherited] |
Definition at line 42 of file ModelMethod.h.
Header& qpid::framing::ModelMethod::getHeader | ( | ) | [inline, inherited] |
Definition at line 41 of file ModelMethod.h.
const AMQMethodBody* qpid::framing::AMQMethodBody::getMethod | ( | ) | const [inline, virtual, inherited] |
AMQMethodBody* qpid::framing::AMQMethodBody::getMethod | ( | ) | [inline, virtual, inherited] |
bool qpid::framing::ExecutionExceptionBody::hasClassCode | ( | ) | const |
bool qpid::framing::ExecutionExceptionBody::hasCommandCode | ( | ) | const |
bool qpid::framing::ExecutionExceptionBody::hasCommandId | ( | ) | const |
bool qpid::framing::ExecutionExceptionBody::hasDescription | ( | ) | const |
bool qpid::framing::ExecutionExceptionBody::hasErrorCode | ( | ) | const |
bool qpid::framing::ExecutionExceptionBody::hasErrorInfo | ( | ) | const |
bool qpid::framing::ExecutionExceptionBody::hasFieldIndex | ( | ) | const |
virtual uint32_t qpid::framing::ModelMethod::headerSize | ( | ) | const [inline, virtual, inherited] |
ResultType qpid::framing::ExecutionExceptionBody::invoke | ( | T & | invocable | ) | const [inline] |
Definition at line 110 of file ExecutionExceptionBody.h.
References getClassCode(), getCommandCode(), getCommandId(), getDescription(), getErrorCode(), getErrorInfo(), and getFieldIndex().
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::ExecutionExceptionBody::isContentBearing | ( | ) | const [inline, virtual] |
virtual bool qpid::framing::ModelMethod::isSync | ( | ) | const [inline, virtual, inherited] |
Reimplemented from qpid::framing::AMQMethodBody.
Definition at line 39 of file ModelMethod.h.
References qpid::framing::Header::getSync().
Match if same type and same class/method ID for methods.
void qpid::framing::ExecutionExceptionBody::print | ( | std::ostream & | out | ) | const [virtual] |
Implements qpid::framing::AMQBody.
bool qpid::framing::ExecutionExceptionBody::responseExpected | ( | ) | const [inline, virtual] |
bool qpid::framing::ExecutionExceptionBody::resultExpected | ( | ) | const [inline, virtual] |
void qpid::framing::ExecutionExceptionBody::setClassCode | ( | uint8_t | _classCode | ) |
void qpid::framing::ExecutionExceptionBody::setCommandCode | ( | uint8_t | _commandCode | ) |
void qpid::framing::ExecutionExceptionBody::setCommandId | ( | const SequenceNumber & | _commandId | ) |
void qpid::framing::ExecutionExceptionBody::setDescription | ( | const string & | _description | ) |
void qpid::framing::ExecutionExceptionBody::setErrorCode | ( | uint16_t | _errorCode | ) |
void qpid::framing::ExecutionExceptionBody::setErrorInfo | ( | const FieldTable & | _errorInfo | ) |
void qpid::framing::ExecutionExceptionBody::setFieldIndex | ( | uint8_t | _fieldIndex | ) |
virtual void qpid::framing::ModelMethod::setSync | ( | bool | on | ) | const [inline, virtual, inherited] |
Reimplemented from qpid::framing::AMQMethodBody.
Definition at line 40 of file ModelMethod.h.
References qpid::framing::Header::setSync().
virtual uint8_t qpid::framing::AMQMethodBody::type | ( | ) | const [inline, virtual, inherited] |
Implements qpid::framing::AMQBody.
Reimplemented in qpid::framing::ConnectionCloseBody, qpid::framing::ConnectionCloseOkBody, qpid::framing::ConnectionHeartbeatBody, qpid::framing::ConnectionOpenBody, qpid::framing::ConnectionOpenOkBody, qpid::framing::ConnectionRedirectBody, qpid::framing::ConnectionSecureBody, qpid::framing::ConnectionSecureOkBody, qpid::framing::ConnectionStartBody, qpid::framing::ConnectionStartOkBody, qpid::framing::ConnectionTuneBody, qpid::framing::ConnectionTuneOkBody, qpid::framing::SessionAttachBody, qpid::framing::SessionAttachedBody, qpid::framing::SessionCommandPointBody, qpid::framing::SessionCompletedBody, qpid::framing::SessionConfirmedBody, qpid::framing::SessionDetachBody, qpid::framing::SessionDetachedBody, qpid::framing::SessionExpectedBody, qpid::framing::SessionFlushBody, qpid::framing::SessionGapBody, qpid::framing::SessionKnownCompletedBody, qpid::framing::SessionRequestTimeoutBody, and qpid::framing::SessionTimeoutBody.
Definition at line 58 of file AMQMethodBody.h.
References qpid::framing::METHOD_BODY.
const ClassId qpid::framing::ExecutionExceptionBody::CLASS_ID = 0x3 [static] |
const MethodId qpid::framing::ExecutionExceptionBody::METHOD_ID = 0x3 [static] |