// defines the interface RemoteSort which is used to support 
// RMI based remote sorting service. The idea here is just to show
// that we can support passing and returning of complex objects,
// not just simple data types.

import java.rmi.*;
import java.util.*;

// The interface must extend the Remote interface to become something
// that RMI can serve up. 

public interface RemoteSort extends Remote {
    public List sort(List l) throws RemoteException;
}

