• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: distributed objects


  • Subject: Re: distributed objects
  • From: Jens Bäckman <email@hidden>
  • Date: Sat, 16 Nov 2002 00:53:10 +0100

On onsdag, nov 13, 2002, at 13:38 Europe/Stockholm, Joji Mori wrote:

I was just wondering if anyone could tell me the difference between calling

serverObj = [connection rootProxy];

and

serverObj = [connection rootObject];

I'm not 100% sure if I'm correct since I have never used those API:s, but... Calling the proxy would probably allow for a "late loading" of the object, and therefore higher efficiency. Instead of creating the object immediately and keep all of its resources alive, proxies can load and unload stuff whenever they feel like it.

A good example of proxy objects would be images in a document. if you are viewing page 42, there is no reward in having the huge image on page 86 loaded. All calls to draw the image outside the visible area are ignored. When that image really has to be drawn, it will be loaded and drawn as usual. After a long time of inactivity, it can be unloaded to free memory for other uses.
_______________________________________________
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: 
 >distributed objects (From: Joji Mori <email@hidden>)

  • Prev by Date: Fwd: ANN: GDL2
  • Next by Date: Re: Finding build versions...
  • Previous by thread: distributed objects
  • Next by thread: Glyph range in textContainers
  • Index(es):
    • Date
    • Thread