Re: Distributed Objects return values...
Re: Distributed Objects return values...
- Subject: Re: Distributed Objects return values...
- From: Andy <email@hidden>
- Date: Fri, 23 Aug 2002 19:32:47 -0400
Andrew Zamler-Carhart wrote:
>
>
Kevin,
>
>
I have a very complex app using Distributed Objects and I pass my own
>
custom objects back and forth between the client and the server all the
>
time. DO actually creates an NSDistantObject in place of a custom
>
object that I've passed, and any messages send to the NSDistantObject
>
are forwarded to the actual object. It doesn't matter if the real
>
object lives on the client or the server.
>
>
>
Specifically, pay attention to these type qualifiers:
>
>
oneway - don't wait for a method to return
>
in - argument only being passed in, won't be referenced later
>
out - argument only used to return a value by reference
>
inout - argument passed in and will be referenced later
>
bycopy - copies the data instead of making an NSDistantObject, useful
>
for immutable objects
>
byref - creates an NSDistantObject (default)
>
Presumably anything sent by value must conform to the NSCoding protocol?
--
AndyT (lordpixel - the cat who walks through walls)
A little bigger on the inside
(see you later space cowboy ...)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.