Contents

Introduction to Distributed Objects

Explains how Objective-C objects in different threads or different processes communicate.

Limitations

Cocoa’s distributed objects system is available only to Objective-C applications.

Organization of This Document

The Objective-C language support for distributed objects is described in detail in the “Remote Messaging” section of <!--a target="_self" -->The Runtime System<!--/a--> in The Objective-C Programming Language . You should be familiar with it before reading this topic. This topic extends that discussion by describing the Cocoa classes used to implement distributed objects.

The classes are divided into the following categories:

Distributed Objects Architecture

Connections and Proxies

Ports and Name Servers

Message Encapsulation

More detailed discussion and examples of how to use distributed objects are covered in the following tasks:

Vending an Object

Getting a Vended Object

Configuring a Connection

Handling Connection Errors

Authenticating Connections

Making Substitutions During Message Encoding

Using NSInvocation

Next

Copyright © 2003, 2017 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2017-06-07