Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation
Classes | Functions
qpid::messaging Namespace Reference

Classes

class  Address
 Represents an address to which messages can be sent and from which messages can be received. More...
class  Connection
 A connection represents a network connection to a remote endpoint. More...
class  Duration
 A duration is a time in milliseconds. More...
struct  MessagingException
struct  InvalidOptionString
struct  KeyError
struct  LinkError
struct  AddressError
struct  ResolutionError
 Thrown when a syntactically correct address cannot be resolved or used. More...
struct  AssertionFailed
struct  NotFound
struct  MalformedAddress
 Thrown when an address string with inalid sytanx is used. More...
struct  ReceiverError
struct  FetchError
struct  NoMessageAvailable
struct  SenderError
struct  SendError
struct  TargetCapacityExceeded
struct  SessionError
struct  TransactionError
struct  TransactionAborted
struct  UnauthorizedAccess
struct  ConnectionError
struct  TransportFailure
class  FailoverUpdates
 A utility to listen for updates on cluster membership and update the list of known urls for a connection accordingly. More...
class  Handle
 A handle is like a pointer: refers to an underlying implementation object. More...
class  Message
 Representation of a message. More...
struct  EncodingException
class  Receiver
 Interface through which messages are received. More...
class  Sender
 Interface through which messages are sent. More...
class  Session
 A session represents a distinct 'conversation' which can involve sending and receiving messages to and from different addresses. More...

Functions

std::ostream & operator<< (std::ostream &out, const Address &address)
Duration operator* (const Duration &duration, uint64_t multiplier)
Duration operator* (uint64_t multiplier, const Duration &duration)
bool operator== (const Duration &a, const Duration &b)
bool operator!= (const Duration &a, const Duration &b)
void decode (const Message &message, qpid::types::Variant::Map &map, const std::string &encoding=std::string())
 Decodes message content into a Variant::Map.
void decode (const Message &message, qpid::types::Variant::List &list, const std::string &encoding=std::string())
 Decodes message content into a Variant::List.
void encode (const qpid::types::Variant::Map &map, Message &message, const std::string &encoding=std::string())
 Encodes a Variant::Map into a message.
void encode (const qpid::types::Variant::List &list, Message &message, const std::string &encoding=std::string())
 Encodes a Variant::List into a message.

Function Documentation

void qpid::messaging::decode ( const Message &  message,
qpid::types::Variant::Map map,
const std::string &  encoding = std::string() 
)

Decodes message content into a Variant::Map.

Parameters:
messagethe message whose content should be decoded
mapthe map into which the message contents will be decoded
encodingif specified, the encoding to use - this overrides any encoding specified by the content-type of the message
Exceptions:
EncodingException
void qpid::messaging::decode ( const Message &  message,
qpid::types::Variant::List list,
const std::string &  encoding = std::string() 
)

Decodes message content into a Variant::List.

Parameters:
messagethe message whose content should be decoded
listthe list into which the message contents will be decoded
encodingif specified, the encoding to use - this overrides any encoding specified by the content-type of the message
Exceptions:
EncodingException
void qpid::messaging::encode ( const qpid::types::Variant::Map map,
Message &  message,
const std::string &  encoding = std::string() 
)

Encodes a Variant::Map into a message.

Parameters:
mapthe map to be encoded
messagethe message whose content should be set to the encoded map
encodingif specified, the encoding to use - this overrides any encoding specified by the content-type of the message
Exceptions:
EncodingException
void qpid::messaging::encode ( const qpid::types::Variant::List list,
Message &  message,
const std::string &  encoding = std::string() 
)

Encodes a Variant::List into a message.

Parameters:
listthe list to be encoded
messagethe message whose content should be set to the encoded list
encodingif specified, the encoding to use - this overrides any encoding specified by the content-type of the message
Exceptions:
EncodingException
bool qpid::messaging::operator!= ( const Duration &  a,
const Duration &  b 
)
Duration qpid::messaging::operator* ( const Duration &  duration,
uint64_t  multiplier 
)
Duration qpid::messaging::operator* ( uint64_t  multiplier,
const Duration &  duration 
)
std::ostream& qpid::messaging::operator<< ( std::ostream &  out,
const Address &  address 
)
bool qpid::messaging::operator== ( const Duration &  a,
const Duration &  b 
)

Qpid C++ API Reference
Generated on Mon Aug 22 2011 for Qpid C++ Client API by doxygen 1.7.4