// This is the "interface," or prototype, for the remote function. import java.rmi.*; public interface remoteMath extends Remote { int AddTwoC( int one, int two ) throws RemoteException; int SubTwoC( int one, int two ) throws RemoteException; int MulTwoC( int one, int two ) throws RemoteException; int DivTwoC( int one, int two ) throws RemoteException; int AddTwoJava( int one, int two ) throws RemoteException; int SubTwoJava( int one, int two ) throws RemoteException; int MulTwoJava( int one, int two ) throws RemoteException; int DivTwoJava( int one, int two ) throws RemoteException; int AddTwoHW( int one, int two ) throws RemoteException; int SubTwoHW( int one, int two ) throws RemoteException; int MulTwoHW( int one, int two ) throws RemoteException; int DivTwoHW( int one, int two ) throws RemoteException; } // end of class "remoteMath"