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 |
Classes | |
class | Array |
struct | OutOfBounds |
class | Buffer |
class | DeliveryProperties |
class | DtxGetTimeoutResult |
class | DtxRecoverResult |
class | ExchangeBoundResult |
class | ExchangeQueryResult |
class | FieldTable |
A set of name-value pairs. More... | |
class | FieldValueException |
Exception that is the base exception for all field table errors. More... | |
struct | InvalidConversionException |
Exception thrown when we can't perform requested conversion. More... | |
class | FieldValue |
Value that can appear in an AMQP field table. More... | |
class | FixedWidthValue |
class | UuidData |
class | FixedWidthValue< 0 > |
class | VariableWidthValue |
class | EncodedValue |
class | Str8Value |
class | Str16Value |
class | Var16Value |
class | Var32Value |
class | Struct32Value |
class | FloatValue |
class | DoubleValue |
class | IntegerValue |
class | TimeValue |
class | Integer64Value |
class | Unsigned64Value |
class | FieldTableValue |
class | ArrayValue |
class | VoidValue |
class | BoolValue |
class | Unsigned8Value |
class | Unsigned16Value |
class | Unsigned32Value |
class | Integer8Value |
class | Integer16Value |
class | ListValue |
class | UuidValue |
class | FileProperties |
class | FragmentProperties |
class | Header |
class | List |
Representation of an AMQP 0-10 list. More... | |
class | MessageAcquireResult |
class | MessageProperties |
class | MessageResumeResult |
class | ProtocolVersion |
class | QueueQueryResult |
struct | UnauthorizedAccessException |
The client attempted to work with a server entity to which it has no access due to security settings. More... | |
struct | NotFoundException |
The client attempted to work with a server entity that does not exist. More... | |
struct | ResourceLockedException |
The client attempted to work with a server entity to which it has no access because another client is working with it. More... | |
struct | PreconditionFailedException |
The client requested a command that was not allowed because some precondition failed. More... | |
struct | ResourceDeletedException |
A server entity the client is working with has been deleted. More... | |
struct | IllegalStateException |
The peer sent a command that is not permitted in the current state of the session. More... | |
struct | CommandInvalidException |
The command segments could not be decoded. More... | |
struct | ResourceLimitExceededException |
The client exceeded its resource allocation. More... | |
struct | NotAllowedException |
The peer tried to use a command a manner that is inconsistent with the rules described in the specification. More... | |
struct | IllegalArgumentException |
The command argument is malformed, i.e. More... | |
struct | NotImplementedException |
The peer tried to use functionality that is not implemented in its partner. More... | |
struct | InternalErrorException |
The peer could not complete the command because of an internal error. More... | |
struct | InvalidArgumentException |
An invalid argument was passed to a command, and the operation could not proceed. More... | |
struct | ConnectionForcedException |
An operator intervened to close the connection for some reason. More... | |
struct | InvalidPathException |
The client tried to work with an unknown virtual host. More... | |
struct | FramingErrorException |
A valid frame header cannot be formed from the incoming byte stream. More... | |
struct | SessionBusyException |
The session is currently attached to another transport. More... | |
struct | TransportBusyException |
The transport is currently attached to another session. More... | |
struct | NotAttachedException |
The transport is not currently attached to any session. More... | |
struct | UnknownIdsException |
Command data was received prior to any use of the command-point control. More... | |
class | ReplyTo |
class | SequenceNumber |
4-byte sequence number that 'wraps around'. More... | |
struct | Window |
class | SequenceSet |
class | StreamProperties |
class | StructHelper |
struct | Uuid |
A UUID is represented as a boost::array of 16 bytes. More... | |
class | XaResult |
class | Xid |
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. | |
TypeCode | typeCode (uint8_t) |
Throw exception if not a valid TypeCode. | |
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. | |
std::istream & | operator>> (std::istream &, Uuid &) |
Read from format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb. | |
Variables | |
const ChannelId | CHANNEL_MAX =(ChannelId(~1))>>1 |
Maximum channel ID used by broker. | |
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 454 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 469 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.