• 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 communication with a launchd "on-demand" daemon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Distributed Objects communication with a launchd "on-demand" daemon


  • Subject: Re: Distributed Objects communication with a launchd "on-demand" daemon
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 17 Dec 2009 08:50:53 -0800

On Dec 16, 2009, at 8:05 PM, Frank Rizzo <email@hidden> wrote:

I am trying to create a launchd daemon that is started "on-demand" by a
client call to a TCP port number and then communicate with the client via
Distributed Objects.

Experience is telling me to advise you not to use DO. Instead, define some on-the-wire serialization format (plists work in the simple case) and use that to communicate. Attempting to manage an object lifecycle between two processes is nightmarish, and DO invites exceptions to be thrown at any time for reasons you can't expect, and in 99% of cases can't recover from.


--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Distributed Objects communication with a launchd "on-demand" daemon
      • From: Jens Alfke <email@hidden>
References: 
 >Distributed Objects communication with a launchd "on-demand" daemon (From: Frank Rizzo <email@hidden>)

  • Prev by Date: Re: Distributed Objects communication with a launchd "on-demand" daemon
  • Next by Date: Re: narraycontroller sort performance problems
  • Previous by thread: Re: Distributed Objects communication with a launchd "on-demand" daemon
  • Next by thread: Re: Distributed Objects communication with a launchd "on-demand" daemon
  • Index(es):
    • Date
    • Thread