DBusConnection.callWithUnixFdListSync

Like g_dbus_connection_call_sync() but also takes and returns gio.UnixFDList objects.

This method is only available on UNIX.

Parameters

busName string

a unique or well-known bus name or NULL if connection is not a message bus connection

objectPath string

path of remote object

interfaceName string

D-Bus interface to invoke method on

methodName string

the name of the method to invoke

parameters Variant

a glib.Variant tuple with parameters for the method or NULL if not passing parameters

replyType VariantType

the expected type of the reply, or NULL

flags GDBusCallFlags

flags from the GDBusCallFlags enumeration

timeoutMsec int

the timeout in milliseconds, -1 to use the default timeout or G_MAXINT for no timeout

fdList UnixFDList

a gio.UnixFDList or NULL

outFdList UnixFDList

return location for a gio.UnixFDList or NULL

cancellable Cancellable

a gio.Cancellable or NULL

Return Value

Type: Variant

NULL if error is set. Otherwise a glib.Variant tuple with return values. Free with Variant.unref.

Throws

GException on failure.

Meta

Since

2.30