Receiving a network reference
When receiving a wire representation wrep of an object
owned by P:
- If exists x such that
wrep->x belongs to the object
table, replace wrep by x (the referenced object may be local
or remote).
- Otherwise the referenced object is remote:
- Open a server connection
server with the process
identified by wrep.sp, if it does not exist.
- Make a stub of class
wrep.stubClassName which will
send its requests through server.
- Put the association
wrep->stub in the object table.
(See method receiveNetObj in file Manager.java).
- 6 -