DBusProxy.callWithUnixFdListSync

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

This method is only available on UNIX.

Parameters

methodName string

Name of method to invoke.

parameters Variant

A glib.Variant tuple with parameters for the signal or NULL if not passing parameters.

flags GDBusCallFlags

Flags from the GDBusCallFlags enumeration.

timeoutMsec int

The timeout in milliseconds (with G_MAXINT meaning "infinite") or -1 to use the proxy default 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