import java.rmi.*;

// This appears in Core Web Programming from
// Prentice Hall Publishers, and may be freely used
// or adapted. 1997 Marty Hall, hall@apl.jhu.edu.

/** Interface for remote numeric integration object. */

public interface RemoteIntegral extends Remote {
  public double sum(double start,
                    double stop,
                    double stepSize,
                    Evaluatable evalObj) 
    throws RemoteException;

  public double integrate(double start,
                          double stop,
                          int numSteps,
                          Evaluatable evalObj)
    throws RemoteException;
}

