| Conforms to | |
| Framework | /System/Library/Frameworks/Foundation.framework |
| Availability | Available in Mac OS X v10.6 and later. |
| Declared in | NSPort.h |
| Companion guides |
The NSPortDelegate protocol defines the optional methods implemented by delegates of NSPort objects.
Processes a given incoming message on the port.
- (void)handlePortMessage:(NSPortMessage *)portMessage
An incoming port message.
See NSPort Class Reference for more information.
The delegate should implement either handlePortMessage: or the NSMachPortDelegate Protocol method handleMachMessage:. You must not implement both delegate methods.
NSPort.hLast updated: 2009-04-14