#include <server.h>
Classes | |
| struct | Private |
Public Member Functions | |
| Server (const char *address) | |
| Dispatcher * | setup (Dispatcher *) |
| virtual | ~Server () |
| bool | listening () const |
| bool | operator== (const Server &) const |
| void | disconnect () |
| void | enable_auth (bool) |
| void | enable_anon (bool) |
Protected Member Functions | |
| Server (const Server &s) | |
| virtual void | on_new_connection (Connection &c)=0 |
| virtual bool | on_user_auth (unsigned long uid) |
Private Attributes | |
| RefPtrI< Private > | _pvt |
Detailed Description
Constructor & Destructor Documentation
◆ Server() [1/2]
| Server::Server | ( | const char * | address | ) |
Definition at line 74 of file server.cpp.
References _pvt, DBus::debug_log, DBus::default_dispatcher, DBus::Server::Private::on_new_conn_cb(), and setup().
◆ ~Server()
|
virtual |
Definition at line 96 of file server.cpp.
References _pvt.
◆ Server() [2/2]
Member Function Documentation
◆ disconnect()
| void Server::disconnect | ( | ) |
Definition at line 139 of file server.cpp.
References _pvt.
◆ enable_anon()
| void Server::enable_anon | ( | bool | enable | ) |
Definition at line 154 of file server.cpp.
References _pvt.
◆ enable_auth()
| void Server::enable_auth | ( | bool | enable | ) |
Definition at line 149 of file server.cpp.
References _pvt.
◆ listening()
| bool Server::listening | ( | ) | const |
Definition at line 135 of file server.cpp.
References _pvt.
◆ on_new_connection()
|
protectedpure virtual |
Referenced by DBus::Server::Private::on_new_conn_cb().
◆ on_user_auth()
|
protectedvirtual |
Definition at line 144 of file server.cpp.
Referenced by DBus::Server::Private::on_unix_auth_cb().
◆ operator==()
| bool Server::operator== | ( | const Server & | s | ) | const |
Definition at line 130 of file server.cpp.
References _pvt.
◆ setup()
| Dispatcher * Server::setup | ( | Dispatcher * | dispatcher | ) |
Definition at line 101 of file server.cpp.
References _pvt, DBus::debug_log, DBus::Dispatcher::Private::on_add_timeout(), DBus::Dispatcher::Private::on_add_watch(), DBus::Dispatcher::Private::on_rem_timeout(), DBus::Dispatcher::Private::on_rem_watch(), DBus::Dispatcher::Private::on_toggle_timeout(), and DBus::Dispatcher::Private::on_toggle_watch().
Referenced by Server().
Member Data Documentation
◆ _pvt
Definition at line 76 of file server.h.
Referenced by disconnect(), enable_anon(), enable_auth(), listening(), DBus::Server::Private::on_new_conn_cb(), operator==(), Server(), setup(), and ~Server().
The documentation for this class was generated from the following files: