1 | try { control = new RMIClientControlImpl(thisClient); |
2 | identity= "rmi://jojo.npac.syr.edu:7000/" + thisClient.clientName; Naming.rebind(identity, control); System.out.println("ClientControl Export done."); |
3 | } catch (RemoteException re) { System.out.println("Exception in ClientControlImpl.main: " + re); } |
4 | catch (MalformedURLException e) { System.out.println("MalformedURLException CoordinatorImpl.main: " + e); |
5 | } |