Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inter-object traffic
Message
From
22/08/2000 18:15:56
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00407766
Message ID:
00408023
Views:
18
>As for communications, AFAIK, this only results in two inter-object calls. The >ServerObject receives a copy of your parameter object (via marshalling), >performs its manipulations on the copy and transfers those changes back to >your to the local Param object (via Unmarshalling) when the Execute method >ends.

I'm getting different opinions on this from different sources. I would like it if it worked the way you described, but, after doing a bit more testing, I believe now it doesn't.

I created both my client and server objects on my pc. Inserted a suspend within the server object, after the parameters objects properties are updated, and before the execute method finishes. Looking at the Locals window, it appears that the parameter objects properties are updated prior to the server object method finishing. This would seem to indicate to me, that there are 3 inter-object calls instead of 2.

I even tried with making the parameter objects LOCAL to the client object, same result.

I'm trying to get some idea here of the performance trade off between using parameter objects ( resulting in more inter-object calls ) versus the overhead of object to XML conversion, and passing the XML string back and forth.

I realize each situation would be unique, but if there is a significant difference between one way or the other, I'll know which way to lean.

thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform