This is NSDistantObject.rtf in view mode; [Download] [Up]
paperh18648 margl-907 margr0 margt0 margb0 fi0 ri0 ql sb0 f1 fs24 Copyright f3 'e3f1 1994 by NeXT Computer, Inc. All Rights Reserved. s4 li100 fi0 ri1007 ql f0 b fs36 fs100 fs36 NSDistantObject pard s14 li2872 fi-2771 ri1007 ql tx2872 f1 b0 fs28 fs48 fs28 f0 b fs24 Inherits From:tab b0 fs28 f1 NSProxy fs20 fs28 s7 f0 b fs24 Conforms To:tab b0 fs28 f1 NSCoding fi0 NSObject (NSProxy) fs20 fs28 s8 fi-2771 f0 b fs24 Declared In:tab b0 fs28 f1 Foundation/NSDistantObject.h fs20 fs28 pard s19 li100 fi0 ri1007 ql f0 b fs28 fs20 fs28 Class Description fs14 fs28 pard s1 li477 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 b0 fs2 fs28 The NSDistantObject class declares the programmatic interface to objects that serve as proxies to remote i reali0 objects. fs16 fs28 Your application does not in general need to explicitly create NSDistantObject objects'd0they are created automatically when you create NSConnection objects for a remote object. fs16 fs28 pard s19 li100 fi0 ri1007 ql f0 b fs24 fs28 Exceptions fs14 fs28 pard s1 li477 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 b0 fs2 fs28 NSDistantObject raises an NSInternalInconsistencyException for a variety of exceptions resulting from internal consistency failures. fs16 fs28 pard s19 li100 fi0 ri1007 ql f0 b fs24 fs28 Building a Proxy fs14 fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 fs28 fi-6552 + (NSDistantObject *)b proxyWithLocal:b0 (id)i targeti0 tab Builds and returns a local proxy for a local object i targeti0 , s11 li7030 fi-6553 fi-5796 b connection:b0 (NSConnection *)i connectioni0 tab tab forming a remote proxy on the other side of i connectioni0 . s9 li7029 fi-5794 fi-6552 fs16 fs28 fi-6552 + (NSDistantObject *)b proxyWithTarget:b0 (id)i targeti0 tab Builds and returns a remote proxy where i targeti0 is an object s11 li7030 fi-6553 fi-5796 b connection:b0 (NSConnection *)i connectiontab i0 tab on the other side of i connectioni0 . pard s19 li100 fi0 ri1007 ql f0 b fs48 fs28 Initializing a Proxy fs14 fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 fs28 fi-6552 {f3 -} (id)b initWithLocal:b0 (id)i targeti0 tab Builds a local proxy for a local object i targeti0 , forming a s11 li7030 fi-6553 fi-5796 b connection:b0 (NSConnection *)i connectioni0 tab tab remote proxy on the other side of i connectioni0 . You may not retain or otherwise use this proxy. s9 li7029 fi-5794 fi-6552 fs16 fs28 fi-6552 {f3 -} (id)b initWithTarget:b0 (id)i targeti0 tab Builds a remote proxy where i targeti0 is an object on the other s11 li7030 fi-6553 fi-5796 b connection:b0 (NSConnection *)i connectioni0 tab tab side of i connectioni0 . It may deallocate and return b nilb0 if this target is already known on the connection. This is the designated initializer for subclasses. pard s19 li100 fi0 ri1007 ql f0 b fs48 fs28 Specifying a Protocol fs14 fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 fs28 fi-6552 {f3 -} (void)b setProtocolForProxy:b0 (Protocol *)i protoi0 tab Sets the proxy'27s protocol to i protoi0 for efficiency. pard s19 li100 fi0 ri1007 ql f0 b fs48 fs28 Returning the Proxy'27s Connection fs14 fs28 pard s9 li7029 fi-6552 ri1007 ql tx6652 tx7030 f1 b0 fs2 fs28 fi-6552 {f3 -} (NSConnection *)b connectionForProxyb0 tab Returns the NSConnection instance used by the proxy. fi-6552 fs16 fs28 fi-6552 }
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.