key.port = man.serverPort; servers.put(key, man);
clients.put(key, man);   UnicastConnectionManager svrman = (UnicastConnectionManager)servers.get(key); if(svrman != null){ man.serverobj = svrman.serverobj; }
public static synchronized UnicastConnectionManager getInstance(int port, RMIServerSocketFactory ssf) throws RemoteException {//System.out.println("getInstance: " + port + "," + ssf);	if (ssf == null) {        ssf = defaultSocketFactory;	}	TripleKey key = new TripleKey(localhost, port, ssf);	UnicastConnectionManager man = (UnicastConnectionManager)servers.get(key);	if (man == null) {		man = new UnicastConnectionManager(port, ssf);        if (debug) {            nsmanager++;            System.out.println("\n\n ****** " + nsmanager + " server managers.\n\n");        }		// The provided port might not be the set port.		key.port = man.serverPort;		servers.put(key, man);	}	return (man);}