handle(_:)
Processes a given incoming message on the port.
Declaration
optional func handle(_ message: NSPortMessage)optional func handle(_ message: PortMessage)Parameters
- message:
An incoming port message.
Discussion
See Port for more information.
The delegate should implement either handle(_:) or the NSMachPortDelegate protocol method handleMachMessage(_:). You must not implement both delegate methods.
See Also
Related Documentation
- Distributed Objects Programming Topics