Checking validity/availability of Distributed Objects
Checking validity/availability of Distributed Objects
- Subject: Checking validity/availability of Distributed Objects
- From: Jacob Bandes-Storch <email@hidden>
- Date: Thu, 20 Dec 2007 18:54:34 -0800
I've got a distributed object connection set up between my preference
pane and its helper application, as explained at http://developer.apple.com/documentation/UserExperience/Conceptual/PreferencePanes/Tasks/Communication.html#/
/apple_ref/doc/uid/20000708 . I need to check if the object is still
valid, to see if the application is still running, and also try to get
the object if it's not valid. if(object){ ... seems unreliable, it can
execute even if the application is closed, if the prefpane has
previously made a connection. I'm also seeing "connection went invalid
while waiting for a reply" in the Console, but I can't figure out
exactly when it shows up. How can I check to see if the object is
still valid?
_______________________________________________
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