Apache Qpid C++ API
Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET Apache Qpid Documentation

qpid::messaging::Connection Class Reference

#include <qpid/messaging/Connection.h>

List of all members.

Public Member Functions

 Connection (ConnectionImpl *impl=0)
 Connection (const Connection &)
 ~Connection ()
Connectionoperator= (const Connection &)
void close ()
Session newSession ()
bool isValid () const
bool isNull () const
 operator bool () const
 Conversion to bool supports idiom if (handle) { handle->.
bool operator! () const
 Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }.
void swap (Handle< ConnectionImpl > &h)

Static Public Member Functions

static Connection open (const std::string &url, const Variant::Map &options=Variant::Map())

Protected Types

typedef ConnectionImpl Impl

Protected Attributes

Implimpl

Detailed Description

Definition at line 41 of file Connection.h.


Member Typedef Documentation

typedef ConnectionImpl qpid::client::Handle< ConnectionImpl >::Impl [protected, inherited]

Definition at line 57 of file Handle.h.


Constructor & Destructor Documentation

qpid::messaging::Connection::Connection ( ConnectionImpl *  impl = 0  ) 
qpid::messaging::Connection::Connection ( const Connection  ) 
qpid::messaging::Connection::~Connection (  ) 

Member Function Documentation

void qpid::messaging::Connection::close (  ) 
bool qpid::client::Handle< ConnectionImpl >::isNull (  )  const [inline, inherited]
Returns:
true if handle is null. It is an error to call any function on a null handle.

Definition at line 46 of file Handle.h.

bool qpid::client::Handle< ConnectionImpl >::isValid (  )  const [inline, inherited]
Returns:
true if handle is valid, i.e. not null.

Definition at line 43 of file Handle.h.

Session qpid::messaging::Connection::newSession (  ) 
static Connection qpid::messaging::Connection::open ( const std::string &  url,
const Variant::Map options = Variant::Map() 
) [static]
qpid::client::Handle< ConnectionImpl >::operator bool (  )  const [inline, inherited]

Conversion to bool supports idiom if (handle) { handle->.

.. }

Definition at line 49 of file Handle.h.

bool qpid::client::Handle< ConnectionImpl >::operator! (  )  const [inline, inherited]

Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }.

Definition at line 52 of file Handle.h.

Connection& qpid::messaging::Connection::operator= ( const Connection  ) 
void qpid::client::Handle< ConnectionImpl >::swap ( Handle< ConnectionImpl > &  h  )  [inline, inherited]

Definition at line 54 of file Handle.h.


Member Data Documentation

Impl* qpid::client::Handle< ConnectionImpl >::impl [protected, inherited]

Definition at line 64 of file Handle.h.


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

Qpid C++ API Reference
Generated on Tue Apr 20 18:18:36 2010 for Qpid C++ Client API by doxygen 1.6.1