DBusProxy.callWithUnixFdListSync

Like g_dbus_proxy_call_sync() but also takes and returns GUnixFDList objects. This method is only available on UNIX. Since 2.30

Parameters

methodName string

Name of method to invoke.

parameters Variant

A GVariant tuple with parameters for the signal or NULL if not passing parameters. [allow-none]

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 GUnixFDList or NULL. [allow-none]

outFdList UnixFDList

Return location for a GUnixFDList or NULL. out[allow-none]

cancellable Cancellable

A GCancellable or NULL. [allow-none]

Return Value

Type: Variant

NULL if error is set. Otherwise a GVariant tuple with return values. Free with g_variant_unref().

Throws

GException on failure.

Meta