the program I am writting implements a Proxy Ldap Server.
One object receives the requests, gets from an object ConnectionList one object Connection for every connection the server handles. The object connection needs information which server it has to contact, on which machine and which port.
The module which holds together the whole cabuddle reads the configuration information and makes it available to the Connection Object.
It should be possible also to get the information from other sources, for example RDBMS, so the connection information the object "Connection" needs may be different.
yes, the information is handed over to the Connection object when it is constructed.
cheers
reinhard