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

DO Proxy


  • Subject: DO Proxy
  • From: Timothy Ritchey <email@hidden>
  • Date: Mon, 13 May 2002 21:25:05 -0500

Okay, here is what my experimentation seems to have found:

1) given two applications/threads/tasks, etc. A and B that have been connected with NSConnection, if you pass an object, say X, from A to B, and then back from B to A, the run-time is smart enough to give you back the original object, and not a proxy.

2) Add a third app C. If C connects to B and asks for X, it will establish its own connection to A. B can disappear, and C's proxy to X will keep on trucking.

3) However, if you pass X from C back to A, A gets a proxy to X, and not the original object back as in (1). The level of indirection that occurs in (2) does not appear to be handled optimally by the run-time system.

Cheers,
tim
_______________________________________________
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.

  • Follow-Ups:
    • Re: DO Proxy
      • From: Ovidiu Predescu <email@hidden>
  • Prev by Date: dealing with NSURLPasteboardType
  • Next by Date: Re: Document with multiple windows
  • Previous by thread: Re: dealing with NSURLPasteboardType
  • Next by thread: Re: DO Proxy
  • Index(es):
    • Date
    • Thread