DBusMessage.getUnixFdList

Gets the UNIX file descriptors associated with message, if any.

This method is only available on UNIX.

The file descriptors normally correspond to G_VARIANT_TYPE_HANDLE values in the body of the message. For example, if glib.variant.VariantG.getHandle returns 5, that is intended to be a reference to the file descriptor that can be accessed by g_unix_fd_list_get (list, 5, ...).

class DBusMessage
getUnixFdList
()

Return Value

Type: gio.unix_fdlist.UnixFDList

A #GUnixFDList or null if no file descriptors are associated. Do not free, this object is owned by message.