Class

NSPortCoder

NSPortCoder is a concrete subclass of NSCoder used in the distributed objects system to transmit object proxies (and sometimes objects themselves) between NSConnection objects. An NSPortCoder instance is always created and used by an NSConnection object; you should never need to explicitly create or use one directly yourself.

Symbols

Creating an NSPortCoder Object

+ portCoderWithReceivePort:sendPort:components:

Creates and returns a new NSPortCoder object.

Deprecated
- initWithReceivePort:sendPort:components:

Initializes and returns an NSPortCoder object.

Deprecated

Getting the Connection

- connection

Returns the NSConnection object that uses the receiver.

Deprecated

Encoding NSPort Objects

- encodePortObject:

Encodes a given port so it can be properly reconstituted in the receiving process or thread.

- decodePortObject

Decodes and returns an NSPort object that was previously encoded with any of the general encode...Object: messages.

Checking for Encoding

- isBycopy

Returns a Boolean value that indicates whether the receiver is encoding an object by copying it.

- isByref

Returns a Boolean value that indicates whether the receiver is encoding an object by reference.

Dispatching

- dispatch

Processes and acts upon the distributed object message with which the receiver was initialized.

Deprecated

Relationships

Inherits From