Type Method

connectionWithRegisteredName:host:usingNameServer:

Returns the NSConnection object whose send port links it to the NSConnection object registered under a given name with a given server on a given host.

Declaration

+ (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameServer:(NSPortNameServer *)server;

Parameters

name

The connection name.

hostName

The host name.

server

The name server.

Return Value

The NSConnection object whose send port links it to the NSConnection object registered with server under name on the host named hostName.

Discussion

See connectionWithRegisteredName:host: for more information.

See Also

Getting a Remote Object

+ connectionWithRegisteredName:host:

Returns the NSConnection object whose send port links it to the NSConnection object registered with the default NSPortNameServer under a given name on a given host.

Deprecated
rootProxy

The proxy for the root object of the receiver’s peer in another application or thread.

Deprecated
+ rootProxyForConnectionWithRegisteredName:host:

Returns a proxy for the root object of the NSConnection object registered with the default NSPortNameServer under a given name on a given host.

Deprecated
+ rootProxyForConnectionWithRegisteredName:host:usingNameServer:

Returns a proxy for the root object of the NSConnection object registered with server under name on a given host.

Deprecated
remoteObjects

The local proxies for remote objects that have been received over the connection but not deallocated yet.

Deprecated
localObjects

The local objects that have been sent over the connection and still have proxies at the other end.

Deprecated