DataBook


Description:

[ CCode ( has_construct_function = false ) ]
public DataBook (BookBackend backend, DBusConnection connection, string object_path) throws Error

Creates a new DataBook and exports the AddressBook D-Bus interface on connection at object_path.

The DataBook handles incoming remote method invocations and forwards them to the backend. If the AddressBook interface fails to export, the function sets throws and returns null.

Parameters:

backend

an BookBackend

connection

a DBusConnection

object_path

object path for the D-Bus interface

Returns:

an DataBook, or null on error