InputMessage

constructor()(source)

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

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(numVectors: <Error class: unknown class>, bytesReceived: <Error class: unknown class>, flags: <Error class: unknown class>)(source)

Allocate a new InputMessage.

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

Parameters

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(numVectors: <Error class: unknown class>, bytesReceived: <Error class: unknown class>, flags: <Error class: unknown class>, scope: <Error class: unknown class>)(source)

Allocate a new InputMessage using the provided AutofreeScope.

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

Parameters

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(gioInputMessagePointer: <Error class: unknown class><<Error class: unknown class>>)(source)