qpid::messaging::Connection Class Reference
#include <qpid/messaging/Connection.h>
List of all members.
Detailed Description
Definition at line 41 of file Connection.h.
Member Typedef Documentation
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 |
( |
|
) |
|
Session qpid::messaging::Connection::getSession |
( |
const std::string & |
name |
) |
const |
- 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.
- Returns:
- true if handle is valid, i.e. not null.
Definition at line 43 of file Handle.h.
Session qpid::messaging::Connection::newSession |
( |
const char * |
name |
) |
|
Session qpid::messaging::Connection::newSession |
( |
const std::string & |
name = std::string() |
) |
|
Session qpid::messaging::Connection::newSession |
( |
bool |
transactional, |
|
|
const std::string & |
name = std::string() | |
|
) |
| | |
Current implementation supports the following options:.
username password heartbeat tcp-nodelay sasl-mechanism sasl-min-ssf sasl-max-ssf
(note also bounds, locale, max-channels and max-framesize, but not sure whether those should be docuemented here)
Retry behaviour can be controlled through the following options:
reconnection-timeout - determines how long it will try to reconnect for -1 means forever, 0 means don't try to reconnect min-retry-interval max-retry-interval
The retry-interval is the time that the client waits for after a failed attempt to reconnect before retrying. It starts at the value of the min-retry-interval and is doubled every failure until the value of max-retry-interval is reached.
Conversion to bool supports idiom if (handle) { handle->.
.. }
Definition at line 49 of file Handle.h.
Operator ! supports idiom if (!handle) { do_if_handle_is_null(); }.
Definition at line 52 of file Handle.h.
Member Data Documentation
The documentation for this class was generated from the following file: