NSMachPortDelegate protocol defines the optional methods implemented by delegates of
Process an incoming Mach message.
- (void)handleMachMessage:(void * _Nonnull)
A pointer to a Mach message, cast as a pointer to void.
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
NSPortDelegate Protocolprotocol method
Available in iOS 2.0 and later.
Available as part of an informal protocol prior to iOS 4.0.