Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
The framing namespace contains classes that are used to create, send and receive the basic packets from which AMQP is built. More...
Namespaces | |
namespace | connection |
namespace | dtx |
namespace | execution |
namespace | file |
namespace | message |
namespace | session |
namespace | stream |
Typedefs | |
typedef uint8_t | FrameType |
typedef uint16_t | ChannelId |
typedef uint32_t | BatchOffset |
typedef uint8_t | ClassId |
typedef uint8_t | MethodId |
typedef uint16_t | ReplyCode |
typedef IntegerValue | Integer32Value |
Functions | |
std::ostream & | operator<< (std::ostream &, const Buffer &) |
template<> | |
bool | FieldValue::convertsTo< std::string > () const |
template<> | |
std::string | FieldValue::get< std::string > () const |
std::ostream & | operator<< (std::ostream &out, const FieldValue &v) |
template<class T > | |
bool | getEncodedValue (FieldTable::ValuePtr vptr, T &value) |
sys::ExceptionHolder | createSessionException (int code, const std::string &text) |
sys::ExceptionHolder | createConnectionException (int code, const std::string &text) |
sys::ExceptionHolder | createChannelException (int code, const std::string &text) |
int32_t | operator- (const SequenceNumber &a, const SequenceNumber &b) |
SequenceNumber | operator+ (const SequenceNumber &a, int32_t n) |
SequenceNumber | operator- (const SequenceNumber &a, int32_t n) |
std::ostream & | operator<< (std::ostream &o, const SequenceNumber &n) |
bool | isTypeCode (uint8_t t) |
True if t is a valid TypeCode value. More... | |
TypeCode | typeCode (uint8_t) |
Throw exception if not a valid TypeCode. More... | |
const char * | typeName (TypeCode t) |
std::ostream & | operator<< (std::ostream &, TypeCode) |
std::ostream & | operator<< (std::ostream &, Uuid) |
Print in format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb. More... | |
std::istream & | operator>> (std::istream &, Uuid &) |
Read from format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb. More... | |
Variables | |
const ChannelId | CHANNEL_MAX =(ChannelId(~1))>>1 |
Maximum channel ID used by broker. More... | |
const ChannelId | CHANNEL_HIGH_BIT = ChannelId(~CHANNEL_MAX) |
The framing namespace contains classes that are used to create, send and receive the basic packets from which AMQP is built.
typedef uint32_t qpid::framing::BatchOffset |
Definition at line 36 of file amqp_types.h.
typedef uint16_t qpid::framing::ChannelId |
Definition at line 35 of file amqp_types.h.
typedef uint8_t qpid::framing::ClassId |
Definition at line 37 of file amqp_types.h.
typedef uint8_t qpid::framing::FrameType |
Definition at line 34 of file amqp_types.h.
Definition at line 455 of file FieldValue.h.
typedef uint8_t qpid::framing::MethodId |
Definition at line 38 of file amqp_types.h.
typedef uint16_t qpid::framing::ReplyCode |
Definition at line 39 of file amqp_types.h.
Definition at line 34 of file constants.h.
Enumerator | |
---|---|
TRANSIENT | |
PERSISTENT |
Definition at line 61 of file amqp_types.h.
enum qpid::framing::Track |
Definition at line 36 of file TypeCode.h.
sys::ExceptionHolder qpid::framing::createChannelException | ( | int | code, |
const std::string & | text | ||
) |
sys::ExceptionHolder qpid::framing::createConnectionException | ( | int | code, |
const std::string & | text | ||
) |
sys::ExceptionHolder qpid::framing::createSessionException | ( | int | code, |
const std::string & | text | ||
) |
|
inline |
Definition at line 124 of file FieldValue.h.
|
inline |
Definition at line 133 of file FieldValue.h.
bool qpid::framing::getEncodedValue | ( | FieldTable::ValuePtr | vptr, |
T & | value | ||
) |
Definition at line 470 of file FieldValue.h.
References qpid::framing::EncodedValue< T >::getValue().
bool qpid::framing::isTypeCode | ( | uint8_t | t | ) |
True if t is a valid TypeCode value.
|
inline |
Definition at line 66 of file SequenceNumber.h.
References qpid::framing::SequenceNumber::getValue().
|
inline |
Definition at line 62 of file SequenceNumber.h.
References qpid::framing::SequenceNumber::getValue().
|
inline |
Definition at line 70 of file SequenceNumber.h.
References qpid::framing::SequenceNumber::getValue().
std::ostream& qpid::framing::operator<< | ( | std::ostream & | o, |
const SequenceNumber & | n | ||
) |
std::ostream& qpid::framing::operator<< | ( | std::ostream & | , |
Uuid | |||
) |
Print in format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb.
std::ostream& qpid::framing::operator<< | ( | std::ostream & | , |
TypeCode | |||
) |
std::ostream& qpid::framing::operator<< | ( | std::ostream & | , |
const Buffer & | |||
) |
|
inline |
Definition at line 135 of file FieldValue.h.
References qpid::framing::FieldValue::print().
std::istream& qpid::framing::operator>> | ( | std::istream & | , |
Uuid & | |||
) |
Read from format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb.
const char* qpid::framing::typeName | ( | TypeCode | t | ) |
const ChannelId qpid::framing::CHANNEL_HIGH_BIT = ChannelId(~CHANNEL_MAX) |
Definition at line 51 of file amqp_types.h.
Maximum channel ID used by broker.
Reserve high bit for internal use.
Definition at line 50 of file amqp_types.h.