gio.output_message
Module for [OutputMessage] class
class OutputMessage
Types 1
classOutputMessage
Structure used for scatter/gather data output when sending multiple messages or packets in one go. You generally pass in an array of #GOutputVectors and the operation will use all the buffers as if they were one buffer.
If @address is null then the message is sent to the default receiver (as previously set by gio.socket.Socket.connect).
Fields
GOutputMessage _cInstanceMethods
void * _cPtr() nothrowgio.socket_address.SocketAddress address() @property nothrowGet `address` field. Returns: a #GSocketAddress, or nullvoid address(gio.socket_address.SocketAddress propval) @property nothrowSet `address` field. Params: propval = a #GSocketAddress, or nullgio.types.OutputVector vectors() @property nothrowGet `vectors` field. Returns: pointer to an array of output vectorsuint numVectors() @property nothrowGet `numVectors` field. Returns: the number of output vectors pointed to by @vectors.void numVectors(uint propval) @property nothrowSet `numVectors` field. Params: propval = the number of output vectors pointed to by @vectors.uint bytesSent() @property nothrowGet `bytesSent` field. Returns: initialize to 0. Will be set to the number of bytes that have been sentvoid bytesSent(uint propval) @property nothrowSet `bytesSent` field. Params: propval = initialize to 0. Will be set to the number of bytes that have been sentuint numControlMessages() @property nothrowGet `numControlMessages` field. Returns: number of elements in @control_messages.void numControlMessages(uint propval) @property nothrowSet `numControlMessages` field. Params: propval = number of elements in @control_messages.