RMQ - RabbitMQ C++ Library
Public Member Functions | List of all members
BloombergLP::rmqt::ShortString Class Reference

Represents an AMQP Short String. Encoding truncates to 255 bytes. More...

#include <rmqt_shortstring.h>

Inheritance diagram for BloombergLP::rmqt::ShortString:
Inheritance graph
[legend]
Collaboration diagram for BloombergLP::rmqt::ShortString:
Collaboration graph
[legend]

Public Member Functions

 ShortString (const bsl::string &str=bsl::string())
 

Detailed Description

Represents an AMQP Short String. Encoding truncates to 255 bytes.

ShortString is used to hold a string which can only be 255 charaters long AMQP has two string types, differentiated by the length of the size field sent before the string. If a rmqt::ShortString is longer than 255 characters, it is truncated when sent to the broker


The documentation for this class was generated from the following files: