InputMessage

constructor()

Allocate a new InputMessage.

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>)

Allocate a new InputMessage 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?, numVectors: <Error class: unknown class>, bytesReceived: <Error class: unknown class>, flags: <Error class: unknown class>)

Allocate a new InputMessage.

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

Parameters

address

return location for a #GSocketAddress, or null

numVectors

the number of input vectors pointed to by @vectors

bytesReceived

will be set to the number of bytes that have been received

flags

collection of #GSocketMsgFlags for the received message, outputted by the call


constructor(address: SocketAddress?, numVectors: <Error class: unknown class>, bytesReceived: <Error class: unknown class>, flags: <Error class: unknown class>, scope: <Error class: unknown class>)

Allocate a new InputMessage using the provided AutofreeScope.

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

Parameters

address

return location for a #GSocketAddress, or null

numVectors

the number of input vectors pointed to by @vectors

bytesReceived

will be set to the number of bytes that have been received

flags

collection of #GSocketMsgFlags for the received message, outputted by the call

scope

The AutofreeScope to allocate this structure in.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)