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

DO: setRootObject


  • Subject: DO: setRootObject
  • From: AgentM <email@hidden>
  • Date: Tue, 7 Oct 2003 13:45:02 +0200

I would like to call setRootObject throughout the duration of a an NSConnection because I hope to vend multiple objects through a single proxy. Apple Docs say:

"This only affects new connection requests and rootProxy messages to established NSConnections; applications that have proxies to the old root object can still send messages through it."

Does this mean the client thread has to create a new connection every time it wants to "switch" the object it is referring to? If so, can I solve this inefficiency by creating a proxy for the proxy?
_______________________________________________
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: setRootObject
      • From: Wade Tregaskis <email@hidden>
  • Prev by Date: Re: Storing preferenses
  • Next by Date: Re: Plugin Framework
  • Previous by thread: Re: Storing preferenses
  • Next by thread: Re: DO: setRootObject
  • Index(es):
    • Date
    • Thread