DBusServer - Helper for accepting connections. More...
#include <giomm/dbusserver.h>

Public Member Functions | |
| virtual | ~DBusServer () |
| GDBusServer* | gobj () |
| Provides access to the underlying C GObject. | |
| const GDBusServer* | gobj () const |
| Provides access to the underlying C GObject. | |
| GDBusServer* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| void | start () |
| void | stop () |
| bool | is_active () const |
| Glib::ustring | get_guid () const |
| DBusServerFlags | get_flags () const |
| Glib::ustring | get_client_address () const |
| Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_active () const |
| Whether the server is currently active. | |
| Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_address () const |
| The address to listen on. | |
| Glib::PropertyProxy_ReadOnly < Glib::RefPtr < DBusAuthObserver > > | property_authentication_observer () const |
| Object used to assist in the authentication process. | |
| Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_client_address () const |
| The address clients can use. | |
| Glib::PropertyProxy_ReadOnly < DBusServerFlags > | property_flags () const |
| Flags for the server. | |
| Glib::PropertyProxy_ReadOnly < Glib::ustring > | property_guid () const |
| The guid of the server. | |
| Glib::SignalProxy1< void, const Glib::RefPtr < DBusConnection >& > | signal_new_connection () |
Static Public Member Functions | |
| static Glib::RefPtr< DBusServer > | create (const Glib::ustring& address, DBusServerFlags flags, const Glib::ustring& guid, const Glib::RefPtr< DBusAuthObserver >& observer, const Glib::RefPtr< Cancellable >& cancellable) |
Protected Member Functions | |
| DBusServer (const Glib::ustring& address, DBusServerFlags flags, const Glib::ustring& guid, const Glib::RefPtr< DBusAuthObserver >& observer, const Glib::RefPtr< Cancellable >& cancellable) | |
Related Functions | |
(Note that these are not member functions.) | |
| Glib::RefPtr< Gio::DBusServer > | wrap (GDBusServer* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
DBusServer - Helper for accepting connections.
DBusServer is a helper for listening to and accepting D-Bus connections. Since DBusServer implements the Initable interface, its constructors can throw an exception if construction fails.
| virtual Gio::DBusServer::~DBusServer | ( | ) | [virtual] |
| Gio::DBusServer::DBusServer | ( | const Glib::ustring& | address, | |
| DBusServerFlags | flags, | |||
| const Glib::ustring& | guid, | |||
| const Glib::RefPtr< DBusAuthObserver >& | observer, | |||
| const Glib::RefPtr< Cancellable >& | cancellable | |||
| ) | [protected] |
| static Glib::RefPtr<DBusServer> Gio::DBusServer::create | ( | const Glib::ustring& | address, | |
| DBusServerFlags | flags, | |||
| const Glib::ustring& | guid, | |||
| const Glib::RefPtr< DBusAuthObserver >& | observer, | |||
| const Glib::RefPtr< Cancellable >& | cancellable | |||
| ) | [static] |
| Glib::ustring Gio::DBusServer::get_client_address | ( | ) | const |
| DBusServerFlags Gio::DBusServer::get_flags | ( | ) | const |
| Glib::ustring Gio::DBusServer::get_guid | ( | ) | const |
| const GDBusServer* Gio::DBusServer::gobj | ( | ) | const [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gio::Initable.
| GDBusServer* Gio::DBusServer::gobj | ( | ) | [inline] |
Provides access to the underlying C GObject.
Reimplemented from Gio::Initable.
| GDBusServer* Gio::DBusServer::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
| bool Gio::DBusServer::is_active | ( | ) | const |
| Glib::PropertyProxy_ReadOnly<Glib::ustring> Gio::DBusServer::property_active | ( | ) | const |
Whether the server is currently active.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<Glib::ustring> Gio::DBusServer::property_address | ( | ) | const |
The address to listen on.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly< Glib::RefPtr<DBusAuthObserver> > Gio::DBusServer::property_authentication_observer | ( | ) | const |
Object used to assist in the authentication process.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<Glib::ustring> Gio::DBusServer::property_client_address | ( | ) | const |
The address clients can use.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<DBusServerFlags> Gio::DBusServer::property_flags | ( | ) | const |
Flags for the server.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly<Glib::ustring> Gio::DBusServer::property_guid | ( | ) | const |
The guid of the server.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::SignalProxy1< void,const Glib::RefPtr<DBusConnection>& > Gio::DBusServer::signal_new_connection | ( | ) |
void on_my_new_connection(const Glib::RefPtr<DBusConnection>& connection) | void Gio::DBusServer::start | ( | ) |
| void Gio::DBusServer::stop | ( | ) |
| Glib::RefPtr< Gio::DBusServer > wrap | ( | GDBusServer * | object, | |
| bool | take_copy = false | |||
| ) | [related] |
A Glib::wrap() method for this object.
| object | The C instance. | |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
1.6.1