Distributed Objects - bycopy
Subject : Distributed Objects - bycopy
From: Half Activist <email@hidden >
Date: Wed, 16 Jan 2008 15:12:29 +0100
Delivered-to: email@hidden
Delivered-to: email@hidden
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; bh=3KO1G1YI4Ej7htmIasoAjpq+Gy/Bv91u8iJZQ2Lscvk=; b=JoaQQNtXTH8am4I+xwxOUy5APQjwYIwiiD+1QfdRMmrjxra+wmwcmbYumh9gJeWyJ8bnXkvkZWQVwUf6cRPkh2ZVcrdCg+YaEzQfr6iSpJPv66QDhI9Jcm/VzjpHTkSxmJQVyOf8/oIaldRJoQzGrcjR/e4H9U6/zhScK//ky5o=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:mime-version:subject:date:x-mailer; b=sIerL+W2BWHFpGqVhxI696v0iEfoGwJH0jwVzZENu66lAF39/vN7YHLftpBgw6BlkmmWzC4HsH2r/JyuIhUtpbjhObENlHknWp/vSAettV7R+waAbOt5NBpB96/GLR4XavuVYmzcl0TKqIf6Juz3+4dMDNWg4WQY4tJBf4J0A1Q=
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to 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.