The skeleton
- In the skeleton the programmer assigns a method identifier for
each method call.
- A process keeps one socket for each remote process referencing any
local object.
- When a remote invocation is requested for the object r, the runtime
invokes the method r.dispatch(s, c, r, method-id).
- The dispatcher must use the switch statement to decode the
method identifier.
- The runtime passes to the dispatcher an object stream s for reading
the parameters and an object c to send back the value returned.
The skeleton for ConcreteBuffer must be named ConcreteBufferSkel.
- 8 -