qpid::broker::BrokerSingleton Class Reference

BrokerSingleton is a smart pointer to a process-wide singleton broker started on an os-chosen port. More...

#include <BrokerSingleton.h>

List of all members.


Detailed Description

BrokerSingleton is a smart pointer to a process-wide singleton broker started on an os-chosen port.

The broker starts the first time an instance of BrokerSingleton is created and runs untill the process exits.

Useful for unit tests that want to share a broker between multiple tests to reduce overhead of starting/stopping a broker for every test.

Tests that need a new broker can create it directly.

THREAD UNSAFE.

Definition at line 39 of file BrokerSingleton.h.


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

Generated on Thu Oct 16 13:38:09 2008 for Qpid by  doxygen 1.5.6