class Gio::OutputMessage
- Gio::OutputMessage
- Reference
- Object
Overview
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 nil
then the message is sent to the default receiver
(as previously set by g_socket_connect()).
Defined in:
lib/gi-crystal/src/auto/gio-2.0/output_message.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGio::OutputMessage, transfer : GICrystal::Transfer)
- .new(num_vectors : UInt32 | Nil = nil, bytes_sent : UInt32 | Nil = nil, num_control_messages : UInt32 | Nil = nil)
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #address : Gio::SocketAddress | Nil
- #address!
- #bytes_sent : UInt32
- #bytes_sent=(value : UInt32)
- #control_messages : Enumerable(Gio::SocketControlMessage) | Nil
- #control_messages!
- #num_control_messages : UInt32
- #num_control_messages=(value : UInt32)
- #num_vectors : UInt32
- #num_vectors=(value : UInt32)
- #to_unsafe
- #vectors : Gio::OutputVector | Nil
- #vectors!
Constructor Detail
def self.new(num_vectors : UInt32 | Nil = nil, bytes_sent : UInt32 | Nil = nil, num_control_messages : UInt32 | Nil = nil)
#
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.