Listing 1

package rf.service;

import java.rmi.RemoteException;

/**
 * Interface for the RestaurantFinder Jini Service. Jini clients using the RestaurantFinder
 * service will be program against this interface.
 * 
 * @author Nikhil Patil
 */
public interface RestaurantFinder
{
    /**
     * Returns an array of Restaurants based on the name of the city and type of cuisine.
     */
    public Restaurant[] getRestaurants(String city, String cuisine) throws RemoteException;
}