DBus::Dispatcher Class Referenceabstract

A Dispatcher handles all of the reading/writing that a Connection needs in order to work correctly. More...

#include <dispatcher.h>

Inheritance diagram for DBus::Dispatcher:

Public Member Functions

virtual ~Dispatcher ()
 
Managing Connections
virtual std::shared_ptr< Connectioncreate_connection (BusType type)=0
 
virtual std::shared_ptr< Connectioncreate_connection (std::string address)=0
 
virtual bool add_connection (std::shared_ptr< Connection > connection)=0
 

Detailed Description

A Dispatcher handles all of the reading/writing that a Connection needs in order to work correctly.

Logically, there should only be one Dispatcher per application for the lifetime of that application.

Constructor & Destructor Documentation

◆ ~Dispatcher()

DBus::Dispatcher::~Dispatcher ( )
virtual

Member Function Documentation

◆ add_connection()

virtual bool DBus::Dispatcher::add_connection ( std::shared_ptr< Connection connection)
pure virtual

Implemented in DBus::StandaloneDispatcher.

◆ create_connection() [1/2]

virtual std::shared_ptr<Connection> DBus::Dispatcher::create_connection ( BusType  type)
pure virtual

Implemented in DBus::StandaloneDispatcher.

◆ create_connection() [2/2]

virtual std::shared_ptr<Connection> DBus::Dispatcher::create_connection ( std::string  address)
pure virtual

Implemented in DBus::StandaloneDispatcher.


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