DBusConnection.callWithUnixFdListSync

Like g_dbus_connection_call_sync() but also takes and returns #GUnixFDList 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 #GVariant 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 #GUnixFDList or %NULL

outFdList UnixFDList

return location for a #GUnixFDList or %NULL

cancellable Cancellable

a #GCancellable or %NULL

Return: %NULL if @error is set. Otherwise a #GVariant tuple with return values. Free with g_variant_unref().

Throws

GException on failure.

Meta

Since

2.30