• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Distributed Objects return values...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Distributed Objects return values... (From: Andrew Zamler-Carhart <email@hidden>)

  • Prev by Date: Re: Rounded ends for NSTextField
  • Next by Date: [Q] IB 2.3 (v283) and 10.2 crashes
  • Previous by thread: Re: Distributed Objects return values...
  • Next by thread: when a scrollbar is really needed?
  • Index(es):
    • Date
    • Thread