• 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
Distributed Objects - bycopy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Distributed Objects - bycopy


  • Subject: Distributed Objects - bycopy
  • From: Half Activist <email@hidden>
  • Date: Wed, 16 Jan 2008 15:12:29 +0100

I wrote a client/server application that relies on Distributed Objects to communicate.
I'm extensively using bycopy since I want all data to be transfered at once thus preventing
series of forwarded method calls etc.


But, I figured out that the object received by the client where not actually copied (when debugging I can the they're nsdistantobject or something like that...)
And every call is forwarded to the server
for example, my protocol has methods like this:


- (bycopy NSDictionary *)aMethodThatReturnsADictionary;

the implementation would be :

- (bycopy NSDictionary *)aMethodThatReturnsADictionary
{
return [ NSDictionary dictionaryWithObjectsAndKeys: @"Hello", @"World", nil ];
}


Am I having the expected behaviour, or did I missed something?

Regards

_______________________________________________

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: Distributed Objects - bycopy
      • From: David Spooner <email@hidden>
  • Prev by Date: Re: Tabview on preferences pane
  • Next by Date: Re: Using Terminal within Cocoa App.
  • Previous by thread: Re: Tabview on preferences pane
  • Next by thread: Re: Distributed Objects - bycopy
  • Index(es):
    • Date
    • Thread