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 call Broker::create directly.

THREAD UNSAFE.


The documentation for this class was generated from the following file:
Generated on Tue Apr 17 14:22:13 2007 for Qpid by  doxygen 1.4.7