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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlera #GSocketAddress, or %NULLintinitialize to 0.intthe number of output vectors pointed to by @vectors.pointer to an array of output vectorsvoidsetFieldAddress(SocketAddress address) a #GSocketAddress, or %NULLvoidsetFieldBytesSent(int bytes_sent) initialize to 0.voidsetFieldNumVectors(int num_vectors) the number of output vectors pointed to by @vectors.voidsetFieldVectors(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, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
-