T
Tom
I think I'm still a little rough on the principle and understanding of
Marshal by value and Marshal by reference after reading various materials.
my understanding of Marshal by value is that the object is copied and passed
by value out of the application domain. So does that mean the ENTIRE server
object is copied to the client side ? thus all calculations are done on the
client side ?
ie. if client/server
if server has add(int x, int y)
and client calls on server add(5,6)
by Marshal by value does that mean the ENTIRE object of add is copied and
process of 5 + 6 is performed on the client ? is that what it means ?
but then again my understanding of an OBJECT is simply a reference to a
class or method. so copying an object is merely copying a method's reference
so what is the difference between Marshal by value and Marshal by reference
?
Thanks guys, I have read many books but still can't grasp it.
Tom
Marshal by value and Marshal by reference after reading various materials.
my understanding of Marshal by value is that the object is copied and passed
by value out of the application domain. So does that mean the ENTIRE server
object is copied to the client side ? thus all calculations are done on the
client side ?
ie. if client/server
if server has add(int x, int y)
and client calls on server add(5,6)
by Marshal by value does that mean the ENTIRE object of add is copied and
process of 5 + 6 is performed on the client ? is that what it means ?
but then again my understanding of an OBJECT is simply a reference to a
class or method. so copying an object is merely copying a method's reference
so what is the difference between Marshal by value and Marshal by reference
?
Thanks guys, I have read many books but still can't grasp it.
Tom