Protocol: NSPortDelegate


The NSPortDelegate protocol defines the optional methods implemented by delegates of NSPort objects.Processes a given incoming message on the port.

Instance Method Summary (collapse)

Instance Method Details

- (Object) handlePortMessage(portMessage)

Processes a given incoming message on the port. See NSPort Class Reference for more information.The delegate should implement either handlePortMessage: or the NSMachPortDelegate Protocol protocol method handleMachMessage:. You must not implement both delegate methods.


  • portMessage (NSPortMessage)

    An incoming port message.