Top | ![]() |
![]() |
![]() |
![]() |
GInterface ├── EDBusSubprocessBackend ╰── EDBusSubprocessObject GObject ├── GDBusInterfaceSkeleton │ ╰── EDBusSubprocessBackendSkeleton ├── GDBusObjectManagerClient │ ╰── EDBusSubprocessObjectManagerClient ├── GDBusObjectProxy │ ╰── EDBusSubprocessObjectProxy ├── GDBusObjectSkeleton │ ╰── EDBusSubprocessObjectSkeleton ╰── GDBusProxy ╰── EDBusSubprocessBackendProxy
EDBusSubprocessBackend requires GObject.
EDBusSubprocessObject requires GDBusObject and GObject.
EDBusSubprocessBackendProxy implements GDBusInterface, GInitable, GAsyncInitable and EDBusSubprocessBackend.
EDBusSubprocessBackendSkeleton implements GDBusInterface and EDBusSubprocessBackend.
EDBusSubprocessObjectProxy implements GDBusObject and EDBusSubprocessObject.
EDBusSubprocessObjectSkeleton implements GDBusObject and EDBusSubprocessObject.
EDBusSubprocessObjectManagerClient implements GInitable, GAsyncInitable and GDBusObjectManager.
EDBusSubprocessBackend is implemented by EDBusSubprocessBackendProxy and EDBusSubprocessBackendSkeleton.
EDBusSubprocessObject is implemented by EDBusSubprocessObjectProxy and EDBusSubprocessObjectSkeleton.
GDBusInterfaceInfo *
e_dbus_subprocess_backend_interface_info
(void
);
Gets a machine-readable description of the org.gnome.evolution.dataserver.Subprocess.Backend D-Bus interface.
Since: 3.16
guint e_dbus_subprocess_backend_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the EDBusSubprocessBackend interface for a concrete class. The properties are overridden in the order they are defined.
klass |
The class structure for a GObject-derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
Since: 3.16
void e_dbus_subprocess_backend_complete_create (EDBusSubprocessBackend *object
,GDBusMethodInvocation *invocation
,const gchar *object_path
);
Helper function used in service implementations to finish handling invocations of the Create()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since: 3.16
void e_dbus_subprocess_backend_complete_close (EDBusSubprocessBackend *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Close()
g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since: 3.16
void e_dbus_subprocess_backend_emit_backend_closed (EDBusSubprocessBackend *object
,const gchar *arg_sender
);
Emits the "BackendClosed" D-Bus signal.
Since: 3.16
void e_dbus_subprocess_backend_call_create (EDBusSubprocessBackend *proxy
,const gchar *arg_source_id
,const gchar *arg_backend_factory_type_name
,const gchar *arg_module_filename
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Create()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_subprocess_backend_call_create_finish()
to get the result of the operation.
See e_dbus_subprocess_backend_call_create_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_source_id |
Argument to pass with the method invocation. |
|
arg_backend_factory_type_name |
Argument to pass with the method invocation. |
|
arg_module_filename |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 3.16
gboolean e_dbus_subprocess_backend_call_create_finish (EDBusSubprocessBackend *proxy
,gchar **out_object_path
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_subprocess_backend_call_create()
.
proxy |
||
out_object_path |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 3.16
gboolean e_dbus_subprocess_backend_call_create_sync (EDBusSubprocessBackend *proxy
,const gchar *arg_source_id
,const gchar *arg_backend_factory_type_name
,const gchar *arg_module_filename
,gchar **out_object_path
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Create()
proxy
. The calling thread is blocked until a reply is received.
See e_dbus_subprocess_backend_call_create()
for the asynchronous version of this method.
proxy |
||
arg_source_id |
Argument to pass with the method invocation. |
|
arg_backend_factory_type_name |
Argument to pass with the method invocation. |
|
arg_module_filename |
Argument to pass with the method invocation. |
|
out_object_path |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since: 3.16
void e_dbus_subprocess_backend_call_close (EDBusSubprocessBackend *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Close()
proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_subprocess_backend_call_close_finish()
to get the result of the operation.
See e_dbus_subprocess_backend_call_close_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since: 3.16
gboolean e_dbus_subprocess_backend_call_close_finish (EDBusSubprocessBackend *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_subprocess_backend_call_close()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since: 3.16
gboolean e_dbus_subprocess_backend_call_close_sync (EDBusSubprocessBackend *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Close()
proxy
. The calling thread is blocked until a reply is received.
See e_dbus_subprocess_backend_call_close()
for the asynchronous version of this method.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since: 3.16
void e_dbus_subprocess_backend_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates a proxy for the D-Bus interface org.gnome.evolution.dataserver.Subprocess.Backend. See g_dbus_proxy_new()
for more details.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_subprocess_backend_proxy_new_finish()
to get the result of the operation.
See e_dbus_subprocess_backend_proxy_new_sync()
for the synchronous, blocking version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[allow-none] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
Since: 3.16
EDBusSubprocessBackend * e_dbus_subprocess_backend_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_subprocess_backend_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type EDBusSubprocessBackendProxy]
Since: 3.16
EDBusSubprocessBackend * e_dbus_subprocess_backend_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates a proxy for the D-Bus interface org.gnome.evolution.dataserver.Subprocess.Backend. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See e_dbus_subprocess_backend_proxy_new()
for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[allow-none] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type EDBusSubprocessBackendProxy]
Since: 3.16
void e_dbus_subprocess_backend_proxy_new_for_bus (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like e_dbus_subprocess_backend_proxy_new()
but takes a GBusType instead of a GDBusConnection.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_subprocess_backend_proxy_new_for_bus_finish()
to get the result of the operation.
See e_dbus_subprocess_backend_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
Since: 3.16
EDBusSubprocessBackend * e_dbus_subprocess_backend_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_subprocess_backend_proxy_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type EDBusSubprocessBackendProxy]
Since: 3.16
EDBusSubprocessBackend * e_dbus_subprocess_backend_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like e_dbus_subprocess_backend_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See e_dbus_subprocess_backend_proxy_new_for_bus()
for the asynchronous version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type EDBusSubprocessBackendProxy]
Since: 3.16
EDBusSubprocessBackend *
e_dbus_subprocess_backend_skeleton_new
(void
);
Creates a skeleton object for the D-Bus interface org.gnome.evolution.dataserver.Subprocess.Backend.
Since: 3.16
EDBusSubprocessBackend *
e_dbus_subprocess_object_get_backend (EDBusSubprocessObject *object
);
Gets the EDBusSubprocessBackend instance for the D-Bus interface org.gnome.evolution.dataserver.Subprocess.Backend on object
, if any.
A EDBusSubprocessBackend that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full]
Since: 3.16
EDBusSubprocessBackend *
e_dbus_subprocess_object_peek_backend (EDBusSubprocessObject *object
);
Like e_dbus_subprocess_object_get_backend()
but doesn't increase the reference count on the returned object.
object
is running.[skip]
A EDBusSubprocessBackend or NULL
if object
does not implement the interface. Do not free the returned object, it is owned by object
.
[transfer none]
Since: 3.16
EDBusSubprocessObjectProxy * e_dbus_subprocess_object_proxy_new (GDBusConnection *connection
,const gchar *object_path
);
Creates a new proxy object.
EDBusSubprocessObjectSkeleton *
e_dbus_subprocess_object_skeleton_new (const gchar *object_path
);
Creates a new skeleton object.
void e_dbus_subprocess_object_skeleton_set_backend (EDBusSubprocessObjectSkeleton *object
,EDBusSubprocessBackend *interface_
);
Sets the EDBusSubprocessBackend instance for the D-Bus interface org.gnome.evolution.dataserver.Subprocess.Backend on object
.
Since: 3.16
GType e_dbus_subprocess_object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager
,const gchar *object_path
,const gchar *interface_name
,gpointer user_data
);
A GDBusProxyTypeFunc that maps interface_name
to the generated GDBusObjectProxy- and GDBusProxy-derived types.
A GDBusProxy-derived GType if interface_name
is not NULL
, otherwise the GType for EDBusSubprocessObjectProxy.
void e_dbus_subprocess_object_manager_client_new (GDBusConnection *connection
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates GDBusObjectManagerClient using e_dbus_subprocess_object_manager_client_get_proxy_type()
as the GDBusProxyTypeFunc. See g_dbus_object_manager_client_new()
for more details.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_subprocess_object_manager_client_new_finish()
to get the result of the operation.
See e_dbus_subprocess_object_manager_client_new_sync()
for the synchronous, blocking version of this constructor.
connection |
||
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[allow-none] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
GDBusObjectManager * e_dbus_subprocess_object_manager_client_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_subprocess_object_manager_client_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type EDBusSubprocessObjectManagerClient]
GDBusObjectManager * e_dbus_subprocess_object_manager_client_new_sync (GDBusConnection *connection
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates GDBusObjectManagerClient using e_dbus_subprocess_object_manager_client_get_proxy_type()
as the GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See e_dbus_subprocess_object_manager_client_new()
for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[allow-none] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type EDBusSubprocessObjectManagerClient]
void e_dbus_subprocess_object_manager_client_new_for_bus (GBusType bus_type
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like e_dbus_subprocess_object_manager_client_new()
but takes a GBusType instead of a GDBusConnection.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_subprocess_object_manager_client_new_for_bus_finish()
to get the result of the operation.
See e_dbus_subprocess_object_manager_client_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
GDBusObjectManager * e_dbus_subprocess_object_manager_client_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_subprocess_object_manager_client_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type EDBusSubprocessObjectManagerClient]
GDBusObjectManager * e_dbus_subprocess_object_manager_client_new_for_bus_sync (GBusType bus_type
,GDBusObjectManagerClientFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like e_dbus_subprocess_object_manager_client_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See e_dbus_subprocess_object_manager_client_new_for_bus()
for the asynchronous version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type EDBusSubprocessObjectManagerClient]
struct EDBusSubprocessBackendIface { GTypeInterface parent_iface; gboolean (*handle_close) ( EDBusSubprocessBackend *object, GDBusMethodInvocation *invocation); gboolean (*handle_create) ( EDBusSubprocessBackend *object, GDBusMethodInvocation *invocation, const gchar *arg_source_id, const gchar *arg_backend_factory_type_name, const gchar *arg_module_filename); void (*backend_closed) ( EDBusSubprocessBackend *object, const gchar *arg_sender); };
Virtual table for the D-Bus interface org.gnome.evolution.dataserver.Subprocess.Backend.
GTypeInterface |
The parent interface. |
|
Handler for the “handle-close” signal. |
||
Handler for the “handle-create” signal. |
||
Handler for the “backend-closed” signal. |
Since: 3.16
struct EDBusSubprocessBackendProxy;
The EDBusSubprocessBackendProxy structure contains only private data and should only be accessed using the provided API.
Since: 3.16
struct EDBusSubprocessBackendProxyClass { GDBusProxyClass parent_class; };
Class structure for EDBusSubprocessBackendProxy.
Since: 3.16
struct EDBusSubprocessBackendSkeleton;
The EDBusSubprocessBackendSkeleton structure contains only private data and should only be accessed using the provided API.
Since: 3.16
struct EDBusSubprocessBackendSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for EDBusSubprocessBackendSkeleton.
Since: 3.16
struct EDBusSubprocessObjectIface { GTypeInterface parent_iface; };
Virtual table for the EDBusSubprocessObject interface.
struct EDBusSubprocessObjectProxy;
The EDBusSubprocessObjectProxy structure contains only private data and should only be accessed using the provided API.
struct EDBusSubprocessObjectProxyClass { GDBusObjectProxyClass parent_class; };
Class structure for EDBusSubprocessObjectProxy.
struct EDBusSubprocessObjectSkeleton;
The EDBusSubprocessObjectSkeleton structure contains only private data and should only be accessed using the provided API.
struct EDBusSubprocessObjectSkeletonClass { GDBusObjectSkeletonClass parent_class; };
Class structure for EDBusSubprocessObjectSkeleton.
struct EDBusSubprocessObjectManagerClient;
The EDBusSubprocessObjectManagerClient structure contains only private data and should only be accessed using the provided API.
struct EDBusSubprocessObjectManagerClientClass { GDBusObjectManagerClientClass parent_class; };
Class structure for EDBusSubprocessObjectManagerClient.
typedef struct _EDBusSubprocessBackend EDBusSubprocessBackend;
Abstract interface type for the D-Bus interface org.gnome.evolution.dataserver.Subprocess.Backend.
Since: 3.16
typedef struct _EDBusSubprocessBackendProxyPrivate EDBusSubprocessBackendProxyPrivate;
typedef struct _EDBusSubprocessBackendSkeletonPrivate EDBusSubprocessBackendSkeletonPrivate;
typedef struct _EDBusSubprocessObject EDBusSubprocessObject;
The EDBusSubprocessObject type is a specialized container of interfaces.
typedef struct _EDBusSubprocessObjectManagerClientPrivate EDBusSubprocessObjectManagerClientPrivate;
typedef struct _EDBusSubprocessObjectProxyPrivate EDBusSubprocessObjectProxyPrivate;
“backend”
property“backend” EDBusSubprocessBackend *
The EDBusSubprocessBackend instance corresponding to the D-Bus interface org.gnome.evolution.dataserver.Subprocess.Backend, if any.
Connect to the “notify” signal to get informed of property changes.
Flags: Read / Write
Since: 3.16
“backend-closed”
signalvoid user_function (EDBusSubprocessBackend *object, gchar *arg_sender, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "BackendClosed" is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
object |
||
arg_sender |
Argument. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.16
“handle-close”
signalgboolean user_function (EDBusSubprocessBackend *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Close()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_subprocess_backend_complete_close()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
Flags: Run Last
Since: 3.16
“handle-create”
signalgboolean user_function (EDBusSubprocessBackend *object, GDBusMethodInvocation *invocation, gchar *arg_source_id, gchar *arg_backend_factory_type_name, gchar *arg_module_filename, gpointer user_data)
Signal emitted when a remote caller is invoking the Create()
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_subprocess_backend_complete_create()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_source_id |
Argument passed by remote caller. |
|
arg_backend_factory_type_name |
Argument passed by remote caller. |
|
arg_module_filename |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.16