OutputMessage

constructor()(source)

Allocate a new OutputMessage.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)(source)

Allocate a new OutputMessage using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(    address: SocketAddress?,     vectors: OutputVector?,     numVectors: <Error class: unknown class>,     bytesSent: <Error class: unknown class>,     numControlMessages: <Error class: unknown class>)(source)

Allocate a new OutputMessage.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

address

a #GSocketAddress, or null

vectors

pointer to an array of output vectors

numVectors

the number of output vectors pointed to by @vectors.

bytesSent

initialize to 0. Will be set to the number of bytes that have been sent

numControlMessages

number of elements in @control_messages.


constructor(    address: SocketAddress?,     vectors: OutputVector?,     numVectors: <Error class: unknown class>,     bytesSent: <Error class: unknown class>,     numControlMessages: <Error class: unknown class>,     scope: <Error class: unknown class>)(source)

Allocate a new OutputMessage using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

address

a #GSocketAddress, or null

vectors

pointer to an array of output vectors

numVectors

the number of output vectors pointed to by @vectors.

bytesSent

initialize to 0. Will be set to the number of bytes that have been sent

numControlMessages

number of elements in @control_messages.

scope

The AutofreeScope to allocate this structure in.


constructor(gioOutputMessagePointer: <Error class: unknown class><<Error class: unknown class>>)(source)