package compute;

import java.rmi.Remote;
import java.rmi.RemoteException;

// this interface extends the interface "java.rmi.Remote"
// so its methods can be invoked from another Java virtual machine
public interface Compute extends Remote {

    // needs a task interface
    <T> T executeTask(Task<T> t) throws RemoteException;
}
