Accepting socket connections
The first time an object is exported or imported, the manager
launches a thread. This thread:
- Opens a port for accepting socket connections.
- Executes the following loop:
- Accept a new connection.
- Read an object
factory
of type ConnectionFactory from
the new socket.
- Invoke the method
factory.makeConnection(socket, ...)
The client counter part will send the appropiate serializable factory
which will create the client connection.
- 9 -