Package ch.bailu.gtk.gio
Class OutputMessage
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gio.OutputMessage
- All Implemented Interfaces:
PointerInterface
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()).
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()).
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
a #GSocketAddress, or %NULLint
initialize to 0.int
the number of output vectors pointed to by @vectors.pointer to an array of output vectorsvoid
setFieldAddress
(SocketAddress address) a #GSocketAddress, or %NULLvoid
setFieldBytesSent
(int bytes_sent) initialize to 0.void
setFieldNumVectors
(int num_vectors) the number of output vectors pointed to by @vectors.void
setFieldVectors
(OutputVector vectors) pointer to an array of output vectorsMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
ADDRESS
a #GSocketAddress, or %NULL- See Also:
-
VECTORS
pointer to an array of output vectors- See Also:
-
NUM_VECTORS
the number of output vectors pointed to by @vectors.- See Also:
-
BYTES_SENT
initialize to 0. Will be set to the number of bytes
that have been sent- See Also:
-
-
Constructor Details
-
OutputMessage
-
-
Method Details
-
getClassHandler
-
setFieldAddress
a #GSocketAddress, or %NULL -
getFieldAddress
a #GSocketAddress, or %NULL -
setFieldVectors
pointer to an array of output vectors -
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
-