Instance Method

handleMachMessage(_:)

Process an incoming Mach message.

Declaration

optional func handleMachMessage(_ msg: UnsafeMutableRawPointer)

Parameters

machMessage

A pointer to a Mach message, cast as a pointer to void.

Discussion

The delegate should interpret this data as a pointer to a Mach message beginning with a msg_header_t structure and should handle the message appropriately.

The delegate should implement either handleMachMessage: or the PortDelegate protocol method handlePortMessage:.

See Also