DBusConnection.callWithUnixFdListSync

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

Parameters

busName string

A unique or well-known bus name or NULL if connection is not a message bus connection. [allow-none]

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 GVariant tuple with parameters for the method or NULL if not passing parameters. [allow-none]

replyType VariantType

The expected type of the reply, or NULL. [allow-none]

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 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