Sending a network reference
When sending a network reference obj
:
- If the object is remote, just send it. The object must be in the
object table.
- Otherwise, the object is local.
- If object
obj
has not a wire representation:
- Create a wire representation: the name of the stub class is the name of
the class of the concrete object plus the suffix `Stub'.
- Assign a dispatcher for deserializing remote invocations: append
`Skel' to the object class and create a new object of that class.
- Ensure that the mapping
obj.wrep->obj
belongs to the
object table.
(See method sendNetObj in file Manager.java).
- 5 -