/** * */ package conditionalTest; import java.rmi.*; /** * @author Yang * */ public interface RemoteConditionalTest extends Remote { public boolean foo() throws RemoteException; public boolean bar() throws RemoteException; public boolean testCondition() throws RemoteException; public boolean testCondition(boolean condition) throws RemoteException; public boolean testCondition(int loopTimes) throws RemoteException; public int getNumber() throws RemoteException; public int getCounter() throws RemoteException; public void setCounter(int num) throws RemoteException; }