NSConnection
An object that manages the communication between objects in different threads or between a thread and a process running on a local or remote system.
Declaration
@interface NSConnection : NSObjectOverview
Connection objects form the backbone of the distributed objects mechanism and normally operate in the background. You use the methods of NSConnection explicitly when vending an object to other applications, when accessing such a vended object through a proxy, and when altering default communication parameters. At other times, you simply interact with a vended object or its proxy.
A single connection object may be shared by multiple threads and used to access a vended object.
Topics
Getting the Default Instance
Creating Instances
Running the Connection in a New Thread
Vending a Service
serviceConnectionWithName:rootObject:usingNameServer:serviceConnectionWithName:rootObject:registerName:registerName:withNameServer:rootObject
Getting a Remote Object
connectionWithRegisteredName:host:connectionWithRegisteredName:host:usingNameServer:rootProxyrootProxyForConnectionWithRegisteredName:host:rootProxyForConnectionWithRegisteredName:host:usingNameServer:remoteObjectslocalObjects
Getting a Conversation
Getting All NSConnection Objects
Configuring Instances
requestTimeoutreplyTimeoutindependentConversationQueueingaddRequestMode:removeRequestMode:requestModesinvalidatevalid