On Apr 17, 2008, at 9:19 AM, Justin Giboney wrote:
Is there something special that I need to do when calling a setter method on a vended object?

I assume you're referring to Distributed Objects.  Right?


I have a Customer object that I am vending. From the client app I call the setName method with a value of @"Justin", but when it gets to the server app, it says it is an invalid object.

"It says" -- what is it? How does it say it's "an invalid object"? Is there an exception? A crash? Something printed to the console? Precisely what is happening?

Also, have you set a protocol for the root proxy on the client side? Does the protocol specify if the parameter to the setName: method is bycopy? Given the semantics that are likely from the way you've described it, you probably do want to use bycopy.

-Ken
_______________________________________________

Cocoa-dev mailing list ([email protected])

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to