call_with_unix_fd_list_sync


Description:

[ Version ( since = "2.30" ) ]
public Variant call_with_unix_fd_list_sync (string? bus_name, string object_path, string interface_name, string method_name, Variant? parameters, VariantType? reply_type, DBusCallFlags flags, int timeout_msec, UnixFDList? fd_list = null, out UnixFDList? out_fd_list = null, Cancellable? cancellable = null) throws Error

Like call_sync but also takes and returns UnixFDList objects.

See call_with_unix_fd_list and call_with_unix_fd_list.end for more details.

This method is only available on UNIX.

Parameters:

this

a DBusConnection

bus_name

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

object_path

path of remote object

interface_name

D-Bus interface to invoke method on

method_name

the name of the method to invoke

parameters

a Variant tuple with parameters for the method or null if not passing parameters

reply_type

the expected type of the reply, or null

flags

flags from the DBusCallFlags enumeration

timeout_msec

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

fd_list

a UnixFDList or null

out_fd_list

return location for a UnixFDList or null

cancellable

a Cancellable or null

Returns:

null if throws is set. Otherwise a non-floating Variant tuple with return values. Free with g_variant_unref.




2022 vala-language.org