DBus::Server Class Reference
#include <server_p.h>
Public Member Functions | |
Private (DBusServer *) | |
~Private () | |
Server (const char *address) | |
Dispatcher * | setup (Dispatcher *) |
virtual | ~Server () |
bool | listening () const |
bool | operator== (const Server &) const |
void | disconnect () |
Static Public Member Functions | |
static void | on_new_conn_cb (DBusServer *server, DBusConnection *conn, void *data) |
Public Attributes | |
DBusServer * | server |
Dispatcher * | dispatcher |
ConnectionList | connections |
Protected Member Functions | |
Server (const Server &s) | |
virtual void | on_new_connection (Connection &c)=0 |
Private Attributes | |
RefPtrI< Private > | _pvt |
Detailed Description
Definition at line 41 of file server_p.h.
Constructor & Destructor Documentation
DBus::Server::~Private | ( | ) |
Server::Server | ( | const char * | address | ) |
Definition at line 60 of file server.cpp.
References _pvt, DBus::debug_log, DBus::default_dispatcher, Private(), and setup().
Server::~Server | ( | ) | [virtual] |
Definition at line 82 of file server.cpp.
References _pvt.
DBus::Server::Server | ( | const Server & | s | ) | [inline, protected] |
Member Function Documentation
void Server::disconnect | ( | ) |
Definition at line 125 of file server.cpp.
References _pvt.
bool Server::listening | ( | ) | const |
Definition at line 121 of file server.cpp.
References _pvt.
static void DBus::Server::on_new_conn_cb | ( | DBusServer * | server, | |
DBusConnection * | conn, | |||
void * | data | |||
) | [static] |
virtual void DBus::Server::on_new_connection | ( | Connection & | c | ) | [protected, pure virtual] |
bool Server::operator== | ( | const Server & | s | ) | const |
Definition at line 116 of file server.cpp.
References _pvt.
DBus::Server::Private | ( | DBusServer * | ) |
Referenced by Server().
Dispatcher * Server::setup | ( | Dispatcher * | dispatcher | ) |
Definition at line 87 of file server.cpp.
References _pvt, and DBus::debug_log.
Referenced by Server().
Member Data Documentation
RefPtrI<Private> DBus::Server::_pvt [private] |
Definition at line 70 of file server.h.
Referenced by disconnect(), listening(), operator==(), Server(), setup(), and ~Server().
Definition at line 47 of file server_p.h.
Definition at line 45 of file server_p.h.
DBusServer* DBus::Server::server |
Definition at line 43 of file server_p.h.
The documentation for this class was generated from the following files: