Deprecated NSPortCoder Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in OS X v10.7
portCoderWithReceivePort:sendPort:components:
Creates and returns a new NSPortCoder object. (Deprecated in OS X v10.7.)
Parameters
- receiverPort
The receiver port.
- sendPort
The send port.
- components
An array containing an encoded distributed objects message.
Return Value
A new NSPortCoder object connected to the communication ports receiverPort and sendPort, with an encoded distributed objects message stored in components.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.7.
Declared In
NSPortCoder.hconnection
Returns the NSConnection object that uses the receiver. (Deprecated in OS X v10.7.)
Return Value
The NSConnection object that uses the receiver. In an object’s encodeWithCoder: method, this is the sending (server) connection. In initWithCoder: this is the receiving (client) connection.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.7.
Declared In
NSPortCoder.hdispatch
Processes and acts upon the distributed object message with which the receiver was initialized. (Deprecated in OS X v10.7.)
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.7.
Declared In
NSPortCoder.hinitWithReceivePort:sendPort:components:
Initializes and returns an NSPortCoder object. (Deprecated in OS X v10.7.)
Parameters
- receiverPort
The receive port.
- sendPort
The send port.
- components
An array containing an encoded distributed objects message.
Discussion
Initializes a newly allocated NSPortCoder object connected to the communication ports receiverPort and sendPort, with an encoded distributed objects message stored in components.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.7.
Declared In
NSPortCoder.h© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-01-29)