gio.unix_fdmessage
Module for [UnixFDMessage] class
Types 3
This gio.socket_control_message.SocketControlMessage contains a gio.unix_fdlist.UnixFDList. It may be sent using gio.socket.Socket.sendMessage and received using gio.socket.Socket.receiveMessage over UNIX sockets (ie: sockets in the gio.types.SocketFamily.Unix family). The file descriptors are copied between processes by the kernel.
For an easier way to send and receive file descriptors over stream-oriented UNIX sockets, see gio.unix_connection.UnixConnection.sendFd and gio.unix_connection.UnixConnection.receiveFd.
Note that <gio/gunixfdmessage.h> belongs to the UNIX-specific GIO interfaces, thus you have to use the gio-unix-2.0.pc pkg-config file or the GioUnix-2.0 GIR namespace when using it.
UnixFDMessageGidBuilder builder() static nothrowGet builder for [gio.unix_fdmessage.UnixFDMessage] Returns: New builder objectgio.unix_fdlist.UnixFDList fdList() @property nothrowGet `fdList` property. Returns: The [gio.unix_fdlist.UnixFDList] object to send with the message.gio.unix_fdmessage.UnixFDMessage newWithFdList(gio.unix_fdlist.UnixFDList fdList) static nothrowCreates a new #GUnixFDMessage containing list.bool appendFd(int fd)Adds a file descriptor to message.gio.unix_fdlist.UnixFDList getFdList() nothrowGets the #GUnixFDList contained in message. This function does not return a reference to the caller, but the returned list is valid for the lifetime of message. Returns: the #GUnixFDList from messageFluent builder implementation template for gio.unix_fdmessage.UnixFDMessage
T fdList(gio.unix_fdlist.UnixFDList propval) nothrowSet `fdList` property. Params: propval = The [gio.unix_fdlist.UnixFDList] object to send with the message. Returns: Builder instance for fluent chainingFluent builder for gio.unix_fdmessage.UnixFDMessage