GObject.Object
Gio.DBusMethodInvocation
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GDBusMethodInvocation |
Class : | DBusMethodInvocation |
Extends: | GObject.Object |
None |
Method / Constructor | Defined By | |
---|---|---|
new Gio.DBusMethodInvocation
()
Create a new Gio.DBusMethodInvocation
Create a new Gio.DBusMethodInvocation
|
||
get_connection
()
:
Gio.DBusConnection
Gets the GDBusConnection the method was invoked on.
Gets the GDBusConnection the method was invoked on.
|
Gio.DBusMethodInvocation | |
get_interface_name
()
:
String
Gets the name of the D-Bus interface the method was invoked on.
Gets the name of the D-Bus interface the method was invoked on.
|
Gio.DBusMethodInvocation | |
get_message
()
:
Gio.DBusMessage
Gets the GDBusMessage for the method invocation.
Gets the GDBusMessage for the method invocation. This is useful if
you need to use low-level protocol features, such as UNIX file descriptor passing, that cannot be properly expressed in the GVariant API. See low-level API to send and receive UNIX file descriptors.
|
Gio.DBusMethodInvocation | |
get_method_info
()
:
Gio.DBusMethodInfo
Gets information about the method call, if any.
Gets information about the method call, if any.
|
Gio.DBusMethodInvocation | |
get_method_name
()
:
String
Gets the name of the method that was invoked.
Gets the name of the method that was invoked.
|
Gio.DBusMethodInvocation | |
get_object_path
()
:
String
Gets the object path the method was invoked on.
Gets the object path the method was invoked on.
|
Gio.DBusMethodInvocation | |
get_parameters
()
:
GLib.Variant
Gets the parameters of the method invocation.
Gets the parameters of the method invocation.
|
Gio.DBusMethodInvocation | |
get_sender
()
:
String
Gets the bus name that invoked the method.
Gets the bus name that invoked the method.
|
Gio.DBusMethodInvocation | |
Finishes handling a D-Bus method call by returning an error.
|
Gio.DBusMethodInvocation | |
Like g_dbus_method_invocation_return_error() but without printf()-style formatting.
Like g_dbus_method_invocation_return_error() but without printf()-style formatting.
This method will free invocation, you cannot use it afterwards.
|
Gio.DBusMethodInvocation | |
return_gerror
(Object error)
:
none
Like g_dbus_method_invocation_return_error() but takes a GError
instead of the error domain, error code and message.
Like g_dbus_method_invocation_return_error() but takes a GError
instead of the error domain, error code and message. This method will free invocation, you cannot use it afterwards.
|
Gio.DBusMethodInvocation | |
return_value
(Variant parameters)
:
none
Finishes handling a D-Bus method call by returning parameters.
Finishes handling a D-Bus method call by returning parameters.
If the parameters GVariant is floating, it is consumed. It is an error if parameters is not of the right format. This method will free invocation, you cannot use it afterwards.
|
Gio.DBusMethodInvocation |
None |