MarshalByRefObject, as the name implies ,these objects are marshaled by reference,instead of copying a copy over the network.Only a pointer to this object know as an ObjRef. Contrary to common pointer in languages like C++,ObjRef don't reference a memory pointer address ,instead of a contain a network address (like a TCP/IP address and TCP port) and an object ID that's employed on the server to identifie which object instance is used by the calling client.On the client side these ObjRefs are encapsulated by a proxy object .
浙公网安备 33010602011771号