#include <Broker.h>
Inheritance diagram for qpid::broker::Broker:
Public Member Functions | |
virtual int16_t | getPort () const |
Return listening port. | |
virtual void | run () |
Run the broker. | |
virtual void | shutdown () |
Shut down the broker. | |
MessageStore & | getStore () |
QueueRegistry & | getQueues () |
ExchangeRegistry & | getExchanges () |
uint32_t | getTimeout () |
uint64_t | getStagingThreshold () |
AutoDelete & | getCleaner () |
Static Public Member Functions | |
static shared_ptr | create (int16_t port=DEFAULT_PORT) |
Create a broker. | |
static shared_ptr | create (const Configuration &config) |
Create a broker using a Configuration. | |
Static Public Attributes | |
static const int16_t | DEFAULT_PORT |
static shared_ptr qpid::broker::Broker::create | ( | int16_t | port = DEFAULT_PORT |
) | [static] |
Create a broker.
port | Port to listen on or 0 to pick a port dynamically. |
virtual int16_t qpid::broker::Broker::getPort | ( | ) | const [virtual] |
Return listening port.
If called before bind this is the configured port. If called after it is the actual port, which will be different if the configured port is 0.
virtual void qpid::broker::Broker::run | ( | ) | [virtual] |
Run the broker.
Implements Runnable::run() so the broker can be run in a separate thread.
Implements qpid::sys::Runnable.