(Preliminary Documentation) Copyright ã1994 by NeXT Computer, Inc.  All Rights Reserved.

NSDistantObject 

Inherits From:	NSProxy 

Conforms To:	NSObject

Declared In:	foundation/NSDistantObject.h 

Building a proxy

+ (NSDistantObject *)proxyWithLocal:(id)target	Builds and returns a local proxy for a local object target,
connection:(NSConnection *)connection		forming a remote proxy on the other side of connection.
+ (NSDistantObject *)proxyWithTarget:(id)target	Builds and returns a remote proxy where target is an object
connection:(NSConnection *)connection		on the other side of connection. 

Initializing a proxy

- (id)initWithLocal:(id)target	Builds a local proxy for a local object target, forming a
connection:(NSConnection *)connection		remote proxy on the other side of connection. You may not retain or otherwise use this proxy.
- (id)initWithTarget:(id)target	Builds a remote proxy where target is an object on the other
connection:(NSConnection *)connection		side of connection. It may deallocate and return nil if this target is already known on the connection. This is the designated initializer for subclasses.

Specifying a protocol

- (void)setProtocolForProxy:(Protocol *)protocol	Sets the proxy's protocol to protocol for efficiency.

Returning the proxy's connection

- (NSConnection *)connectionForProxy	Returns the NSConnection instance used by the proxy.