Class OutputMessage

All Implemented Interfaces:
PointerInterface

public class OutputMessage extends Record
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 g_socket_connect()).

https://docs.gtk.org/gio/struct.OutputMessage.html

  • Field Details

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • setFieldAddress

      public void setFieldAddress(SocketAddress address)
      a #GSocketAddress, or %NULL
    • getFieldAddress

      public SocketAddress getFieldAddress()
      a #GSocketAddress, or %NULL
    • setFieldVectors

      public void setFieldVectors(OutputVector vectors)
      pointer to an array of output vectors
    • getFieldVectors

      public OutputVector getFieldVectors()
      pointer to an array of output vectors
    • setFieldNumVectors

      public void setFieldNumVectors(int num_vectors)
      the number of output vectors pointed to by @vectors.
    • getFieldNumVectors

      public int getFieldNumVectors()
      the number of output vectors pointed to by @vectors.
    • setFieldBytesSent

      public void setFieldBytesSent(int bytes_sent)
      initialize to 0. Will be set to the number of bytes
      that have been sent
    • getFieldBytesSent

      public int getFieldBytesSent()
      initialize to 0. Will be set to the number of bytes
      that have been sent