Contents

portCoderWithReceivePort:sendPort:components:

Creates and returns a new NSPortCoder object.

Declaration

+ (id) portCoderWithReceivePort:(NSPort *) rcvPort sendPort:(NSPort *) sndPort components:(NSArray *) comps;

Parameters

  • rcvPort:

    The receiver port.

  • sndPort:

    The send port.

  • comps:

    An array containing an encoded distributed objects message.

Return Value

A new NSPortCoder object connected to the communication ports rcvPort and sndPort, with an encoded distributed objects message stored in comps.

See Also

Related Documentation

  • dispatch
  • Distributed Objects Programming Topics

Creating an NSPortCoder Object