• 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: Vended Object Setters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vended Object Setters


  • Subject: Re: Vended Object Setters
  • From: Ken Thomases <email@hidden>
  • Date: Thu, 17 Apr 2008 09:32:06 -0500

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@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: Vended Object Setters
      • From: Justin Giboney <email@hidden>
References: 
 >Vended Object Setters (From: Justin Giboney <email@hidden>)

  • Prev by Date: Vended Object Setters
  • Next by Date: to make NSOutlineView faster
  • Previous by thread: Vended Object Setters
  • Next by thread: Re: Vended Object Setters
  • Index(es):
    • Date
    • Thread