Application API for an AMQP client.

SYNC means that Session functions do not return until the remote broker has confirmed that the command was executed. More...

Classes

class  qpid::client::Session_0_10
 AMQP 0-10 session API with keyword arguments. More...
class  qpid::client::AckPolicy
 Policy for automatic acknowledgement of messages. More...
class  qpid::client::Connection
 Represents a connection to an AMQP broker. More...
class  qpid::client::LocalQueue
 Local representation of a remote queue. More...
class  qpid::client::Message
 A representation of messages sent or received through the client api. More...
class  qpid::client::MessageListener
 An interface through which asynchronously delivered messages can be received by an application. More...
class  qpid::client::MessageQueue
 A MessageListener implementation that queues up messages. More...
class  qpid::client::SubscriptionManager
 Utility to assist with creating subscriptions. More...
class  qpid::framing::FieldTable
 A set of name-value pairs. More...
class  qpid::framing::FieldValueException
 Exception that is the base exception for all field table errors. More...
struct  qpid::framing::InvalidConversionException
 Exception thrown when we can't perform requested conversion. More...
class  qpid::framing::FieldValue
 Value that can appear in an AMQP field table. More...

Typedefs

typedef Session_0_10 qpid::client::Session
 Session is currently just an alias for Session_99_0.

Detailed Description

SYNC means that Session functions do not return until the remote broker has confirmed that the command was executed.

ASYNC means that the client sends commands asynchronously, Session functions return immediately.

ASYNC mode gives better performance for high-volume traffic, but requires some additional caution.

Session functions return immediately. If the command causes an exception on the broker, the exception will be thrown on a later function call.

If you need to notify some extenal agent that some actions have been taken (e.g. binding queues to exchanges), you must call Session::sync() first to ensure that all the commands are complete.

You can freely switch between modes by calling Session::setSynchronous().

See also:
Session::sync(), Session::setSynchronous()

Generated on Thu May 15 22:22:02 2008 for Qpid by  doxygen 1.5.5