SocketControlMessageImpl

class SocketControlMessageImpl(pointer: <Error class: unknown class><<Error class: unknown class>>) : SocketControlMessage

The SocketControlMessageImpl type represents a native instance of the abstract SocketControlMessage class.

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Creates a new instance of SocketControlMessage for the provided CPointer.

Properties

Link copied to clipboard
val gioSocketControlMessagePointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun getLevel(): <Error class: unknown class>

Returns the "level" (i.e. the originating protocol) of the control message. This is often SOL_SOCKET.

Link copied to clipboard
open fun getMsgType(): <Error class: unknown class>

Returns the protocol specific type of the control message. For instance, for UNIX fd passing this would be SCM_RIGHTS.

Link copied to clipboard
open fun getSize(): <Error class: unknown class>

Returns the space required for the control message, not including headers or alignment.

Link copied to clipboard
open fun serialize(data: <Error class: unknown class>)

Converts the data in the message to bytes placed in the message.