Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] Remote Messaging : Keep sending msg to a destroyed remote object



On Aug 29, 2007, at 11:41 PM, JongAm Park wrote:
So, the client code receive the notification well, and destroy its local proxy.
Now, because there is no exposed remote object, pressing "Get Remote Object" button on the client side should fail in obtaining the server's exposed object. But it retrieves something. The address is different from that obtained by the 1st trial.
And whatever message, i.e. the one which is defined in a protocol, or the remote object can handle, you send to the remote object, the remote object receives it successfully.

I haven't studied the remote object issues for a while, but as I remember, last time I tried it, registerName: nevers really unregisters the server, though the documentation says so. Perhaps it's better to see if the vended server object is really released by your release call, or if it's still retained by somebody else.


It's understandable that your client retrieves something after the server object is supposed to die, as what the client retrieves is a new proxy object that still points to the same vended server object.

d.

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >[Q] Remote Messaging : Keep sending msg to a destroyed remote object (From: JongAm Park <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.