import java.rmi.Remote; import java.rmi.RemoteException; public interface Server extends Remote { public int connect (Client client) throws RemoteException; public void option1 (int id) throws RemoteException; public String option2 (int id) throws RemoteException; }