:right-sidebar: True OutputMessage =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.44 .. class:: OutputMessage(*args, **kwargs) :no-contents-entry: Structure used for scatter/gather data output when sending multiple messages or packets in one go. You generally pass in an array of :obj:`~gi.repository.Gio.OutputVector` and the operation will use all the buffers as if they were one buffer. If ``address`` is :const:`None` then the message is sent to the default receiver (as previously set by :func:`~gi.repository.Gio.Socket.connect`). Fields ------ .. rst-class:: interim-class .. class:: OutputMessage :no-index: .. attribute:: address A :obj:`~gi.repository.Gio.SocketAddress`\, or :const:`None` .. attribute:: bytes_sent Initialize to 0. Will be set to the number of bytes that have been sent .. attribute:: control_messages A pointer to an array of :obj:`~gi.repository.Gio.SocketControlMessage`\, or :const:`None`. .. attribute:: num_control_messages Number of elements in ``control_messages``\. .. attribute:: num_vectors The number of output vectors pointed to by ``vectors``\. .. attribute:: vectors Pointer to an array of output vectors