Protocol: NSMachPortDelegate

Overview

The NSMachPortDelegate protocol defines the optional methods implemented by delegates of NSMachPort objects.Process an incoming Mach message.

Instance Method Summary (collapse)

Instance Method Details

- (Object) handleMachMessage(machMessage)

Process an incoming Mach message. 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 NSPortDelegate Protocol protocol method handlePortMessage:.

Parameters:

  • machMessage (Object)

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

Returns: