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 {
    static final String SERVICE_NAME = "authenticator";

    // say hello method, This is a repeat of task 1(done as part of learning RMI)
    boolean authenticate() throws RemoteException;
}
