#include <server.h>

Classes

struct  Private
 

Public Member Functions

 Server (const char *address)
 
Dispatchersetup (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

Definition at line 43 of file server.h.

Constructor & Destructor Documentation

◆ Server() [1/2]

Server::Server ( const char * address)

◆ ~Server()

Server::~Server ( )
virtual

Definition at line 96 of file server.cpp.

References _pvt.

◆ Server() [2/2]

DBus::Server::Server ( const Server & s)
inlineprotected

Definition at line 67 of file server.h.

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()

virtual void DBus::Server::on_new_connection ( Connection & c)
protectedpure virtual

◆ on_user_auth()

bool Server::on_user_auth ( unsigned long uid)
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()

Member Data Documentation

◆ _pvt


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