import java.rmi.*;
public class Client {
    public static void main(String args[])  {
   	try  {
	    String serverURL = "rmi://" + args[0] + "/Server";
	    ServerIntf serverIntf = (ServerIntf)Naming.lookup(serverURL);
	    serverIntf.flush();
	}
	catch(Exception e)  {
	    System.out.println("Exception: " + e);
	}
    }
}

