DataFactory
Object Hierarchy:
Description:
[
CCode ( type_id =
"e_data_factory_get_type ()" ) ]
[
Version ( since =
"3.4" ) ]
public class DataFactory :
DBusServer,
Extensible,
Initable
Contains only private data that should be read and manipulated using the functions below.
Content:
Properties:
Creation methods:
Methods:
- public void backend_closed (Backend backend)
- public void backend_closed_by_sender (Backend backend, string sender)
- public virtual void complete_open (DBusMethodInvocation invocation, string object_path, string bus_name, string extension_name)
- public string construct_path ()
Returns a new and unique object path for a D-Bus interface based in
the data object path prefix of the this
- public virtual Backend? create_backend (BackendFactory backend_factory, Source source)
Used only when backend-per-process is off.
- public int get_backend_per_process ()
- public unowned SourceRegistry get_registry ()
- public bool get_reload_supported ()
- public SList<Backend> list_opened_backends ()
Lists the currently opened backends.
- public virtual string open_backend (Backend backend, DBusConnection connection, Cancellable? cancellable = null) throws Error
- public BackendFactory? ref_backend_factory (string backend_name, string extension_name)
Returns the
BackendFactory for "backend_name:extension_name", or null if no such
factory is registered.
- public void spawn_subprocess_backend (DBusMethodInvocation invocation, string uid, string extension_name, string subprocess_path)
Spawns a new subprocess for a backend type and returns the object path
of the new subprocess to the client, in the way the client can talk directly to the running backend.
- public bool use_backend_per_process ()
Inherited Members:
All known members inherited from class E.DBusServer
All known members inherited from class GLib.Object
All known members inherited from interface E.Extensible
All known members inherited from interface GLib.Initable