Re: Distributed Objects communication with a launchd "on-demand" daemon
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