Serving a method call
(class ClientConnection)
- If the process P has network references of objects living in Q,
then Q runs a thread to serve all invocations coming from P.
- The thread loops executing:
- Read a network reference of a concrete object o living in Q.
- Read a method identification.
- execute
o.dispatch(..., o, method-id)
.
- If any exception is thrown by
dispatch
close the
socket.
- If the server connection finds the socket closed, it will reopen
the socket later.
- 9 -