![]() |
![]() |
![]() |
Evolution-Data-Server Manual: Private | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Prerequisites | Known Implementations | Properties | Signals |
EDBusAuthenticator; gboolean e_dbus_authenticator_get_without_password (EDBusAuthenticator *object
); void e_dbus_authenticator_set_without_password (EDBusAuthenticator *object
,gboolean value
); gboolean e_dbus_authenticator_call_ready_sync (EDBusAuthenticator *proxy
,const gchar *arg_encryption_key
,GCancellable *cancellable
,GError **error
); void e_dbus_authenticator_call_ready (EDBusAuthenticator *proxy
,const gchar *arg_encryption_key
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_authenticator_call_ready_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_authenticator_complete_ready (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_authenticator_call_cancel_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
); void e_dbus_authenticator_call_cancel (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_authenticator_call_cancel_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_authenticator_complete_cancel (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_authenticator_call_accepted_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
); void e_dbus_authenticator_call_accepted (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_authenticator_call_accepted_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_authenticator_complete_accepted (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_authenticator_call_rejected_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
); void e_dbus_authenticator_call_rejected (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_authenticator_call_rejected_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_authenticator_complete_rejected (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
); void e_dbus_authenticator_emit_authenticate (EDBusAuthenticator *object
,const gchar *arg_encrypted_secret
); void e_dbus_authenticator_emit_dismissed (EDBusAuthenticator *object
); void e_dbus_authenticator_emit_server_error (EDBusAuthenticator *object
,const gchar *arg_name
,const gchar *arg_message
); GDBusInterfaceInfo * e_dbus_authenticator_interface_info (void
); guint e_dbus_authenticator_override_properties (GObjectClass *klass
,guint property_id_begin
); struct EDBusAuthenticatorProxy; EDBusAuthenticator * e_dbus_authenticator_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
); void e_dbus_authenticator_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); EDBusAuthenticator * e_dbus_authenticator_proxy_new_finish (GAsyncResult *res
,GError **error
); EDBusAuthenticator * e_dbus_authenticator_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
); void e_dbus_authenticator_proxy_new_for_bus (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); EDBusAuthenticator * e_dbus_authenticator_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
); struct EDBusAuthenticatorSkeleton; EDBusAuthenticator * e_dbus_authenticator_skeleton_new (void
);
GInterface +----EDBusAuthenticator
GObject +----GDBusProxy +----EDBusAuthenticatorProxy
GObject +----GDBusInterfaceSkeleton +----EDBusAuthenticatorSkeleton
EDBusAuthenticatorProxy implements GDBusInterface, GInitable, GAsyncInitable and EDBusAuthenticator.
EDBusAuthenticatorSkeleton implements GDBusInterface and EDBusAuthenticator.
EDBusAuthenticator is implemented by EDBusAuthenticatorProxy and EDBusAuthenticatorSkeleton.
"authenticate" :Run Last
"dismissed" :Run Last
"handle-accepted" :Run Last
"handle-cancel" :Run Last
"handle-ready" :Run Last
"handle-rejected" :Run Last
"server-error" :Run Last
typedef struct _EDBusAuthenticator EDBusAuthenticator;
Abstract interface type for the D-Bus interface org.gnome.evolution.dataserver.Authenticator.
gboolean e_dbus_authenticator_get_without_password
(EDBusAuthenticator *object
);
Gets the value of the "WithoutPassword" D-Bus property.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
|
A EDBusAuthenticator. |
Returns : |
The property value. |
void e_dbus_authenticator_set_without_password (EDBusAuthenticator *object
,gboolean value
);
Sets the "WithoutPassword" D-Bus property to value
.
Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.
|
A EDBusAuthenticator. |
|
The value to set. |
gboolean e_dbus_authenticator_call_ready_sync (EDBusAuthenticator *proxy
,const gchar *arg_encryption_key
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Ready()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_authenticator_call_ready()
for the asynchronous version of this method.
|
A EDBusAuthenticatorProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_call_ready (EDBusAuthenticator *proxy
,const gchar *arg_encryption_key
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Ready()
D-Bus method on 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_authenticator_call_ready_finish()
to get the result of the operation.
See e_dbus_authenticator_call_ready_sync()
for the synchronous, blocking version of this method.
|
A EDBusAuthenticatorProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean e_dbus_authenticator_call_ready_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_authenticator_call_ready()
.
|
A EDBusAuthenticatorProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_authenticator_call_ready() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_complete_ready (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Ready()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. [transfer full] |
gboolean e_dbus_authenticator_call_cancel_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Cancel()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_authenticator_call_cancel()
for the asynchronous version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_call_cancel (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Cancel()
D-Bus method on 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_authenticator_call_cancel_finish()
to get the result of the operation.
See e_dbus_authenticator_call_cancel_sync()
for the synchronous, blocking version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean e_dbus_authenticator_call_cancel_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_authenticator_call_cancel()
.
|
A EDBusAuthenticatorProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_authenticator_call_cancel() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_complete_cancel (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Cancel()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. [transfer full] |
gboolean e_dbus_authenticator_call_accepted_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Accepted()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_authenticator_call_accepted()
for the asynchronous version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_call_accepted (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Accepted()
D-Bus method on 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_authenticator_call_accepted_finish()
to get the result of the operation.
See e_dbus_authenticator_call_accepted_sync()
for the synchronous, blocking version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean e_dbus_authenticator_call_accepted_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_authenticator_call_accepted()
.
|
A EDBusAuthenticatorProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_authenticator_call_accepted() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_complete_accepted (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Accepted()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. [transfer full] |
gboolean e_dbus_authenticator_call_rejected_sync (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Rejected()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_authenticator_call_rejected()
for the asynchronous version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_call_rejected (EDBusAuthenticator *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Rejected()
D-Bus method on 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_authenticator_call_rejected_finish()
to get the result of the operation.
See e_dbus_authenticator_call_rejected_sync()
for the synchronous, blocking version of this method.
|
A EDBusAuthenticatorProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
gboolean e_dbus_authenticator_call_rejected_finish (EDBusAuthenticator *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_authenticator_call_rejected()
.
|
A EDBusAuthenticatorProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_authenticator_call_rejected() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
void e_dbus_authenticator_complete_rejected (EDBusAuthenticator *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Rejected()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. [transfer full] |
void e_dbus_authenticator_emit_authenticate (EDBusAuthenticator *object
,const gchar *arg_encrypted_secret
);
Emits the "Authenticate" D-Bus signal.
|
A EDBusAuthenticator. |
|
Argument to pass with the signal. |
void e_dbus_authenticator_emit_dismissed (EDBusAuthenticator *object
);
Emits the "Dismissed" D-Bus signal.
|
A EDBusAuthenticator. |
void e_dbus_authenticator_emit_server_error (EDBusAuthenticator *object
,const gchar *arg_name
,const gchar *arg_message
);
Emits the "ServerError" D-Bus signal.
|
A EDBusAuthenticator. |
|
Argument to pass with the signal. |
|
Argument to pass with the signal. |
GDBusInterfaceInfo * e_dbus_authenticator_interface_info
(void
);
Gets a machine-readable description of the org.gnome.evolution.dataserver.Authenticator D-Bus interface.
Returns : |
A GDBusInterfaceInfo. Do not free. [transfer none] |
guint e_dbus_authenticator_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the EDBusAuthenticator interface for a concrete class. The properties are overridden in the order they are defined.
|
The class structure for a GObject-derived class. |
|
The property id to assign to the first overridden property. |
Returns : |
The last property id. |
struct EDBusAuthenticatorProxy;
The EDBusAuthenticatorProxy structure contains only private data and should only be accessed using the provided API.
EDBusAuthenticator * e_dbus_authenticator_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.Authenticator. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See e_dbus_authenticator_proxy_new()
for the asynchronous version of this constructor.
|
A GDBusConnection. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique) or NULL if connection is not a message bus connection. [allow-none]
|
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type EDBusAuthenticatorProxy]
|
void e_dbus_authenticator_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.Authenticator. 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_authenticator_proxy_new_finish()
to get the result of the operation.
See e_dbus_authenticator_proxy_new_sync()
for the synchronous, blocking version of this constructor.
|
A GDBusConnection. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique) or NULL if connection is not a message bus connection. [allow-none]
|
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied. |
|
User data to pass to callback . |
EDBusAuthenticator * e_dbus_authenticator_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_authenticator_proxy_new()
.
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_authenticator_proxy_new() . |
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type EDBusAuthenticatorProxy]
|
EDBusAuthenticator * e_dbus_authenticator_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like e_dbus_authenticator_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See e_dbus_authenticator_proxy_new_for_bus()
for the asynchronous version of this constructor.
|
A GBusType. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique). |
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type EDBusAuthenticatorProxy]
|
void e_dbus_authenticator_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_authenticator_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_authenticator_proxy_new_for_bus_finish()
to get the result of the operation.
See e_dbus_authenticator_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
|
A GBusType. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique). |
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied. |
|
User data to pass to callback . |
EDBusAuthenticator * e_dbus_authenticator_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_authenticator_proxy_new_for_bus()
.
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_authenticator_proxy_new_for_bus() . |
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type EDBusAuthenticatorProxy]
|
struct EDBusAuthenticatorSkeleton;
The EDBusAuthenticatorSkeleton structure contains only private data and should only be accessed using the provided API.
EDBusAuthenticator * e_dbus_authenticator_skeleton_new (void
);
Creates a skeleton object for the D-Bus interface org.gnome.evolution.dataserver.Authenticator.
Returns : |
The skeleton object. [transfer full][type EDBusAuthenticatorSkeleton] |
"without-password"
property"without-password" gboolean : Read / Write
Represents the D-Bus property "WithoutPassword".
Since the D-Bus property for this GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.
Default value: FALSE
"authenticate"
signalvoid user_function (EDBusAuthenticator *object,
gchar *arg_encrypted_secret,
gpointer user_data) : Run Last
On the client-side, this signal is emitted whenever the D-Bus signal "Authenticate" 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.
|
A EDBusAuthenticator. |
|
Argument. |
|
user data set when the signal handler was connected. |
"dismissed"
signalvoid user_function (EDBusAuthenticator *object,
gpointer user_data) : Run Last
On the client-side, this signal is emitted whenever the D-Bus signal "Dismissed" 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.
|
A EDBusAuthenticator. |
|
user data set when the signal handler was connected. |
"handle-accepted"
signalgboolean user_function (EDBusAuthenticator *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the Accepted()
D-Bus method.
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_authenticator_complete_accepted()
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.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-cancel"
signalgboolean user_function (EDBusAuthenticator *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the Cancel()
D-Bus method.
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_authenticator_complete_cancel()
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.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-ready"
signalgboolean user_function (EDBusAuthenticator *object,
GDBusMethodInvocation *invocation,
gchar *arg_encryption_key,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the Ready()
D-Bus method.
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_authenticator_complete_ready()
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.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"handle-rejected"
signalgboolean user_function (EDBusAuthenticator *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
Signal emitted when a remote caller is invoking the Rejected()
D-Bus method.
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_authenticator_complete_rejected()
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.
|
A EDBusAuthenticator. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
"server-error"
signalvoid user_function (EDBusAuthenticator *object,
gchar *arg_name,
gchar *arg_message,
gpointer user_data) : Run Last
On the client-side, this signal is emitted whenever the D-Bus signal "ServerError" 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.
|
A EDBusAuthenticator. |
|
Argument. |
|
Argument. |
|
user data set when the signal handler was connected. |