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>

Inherits shared_ptr.

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.


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

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