Computable.java |
/* * Created by IntelliJ IDEA. * User: root * Date: Feb 12, 2002 * Time: 2:06:27 PM * To change template for new interface use * Code Style | Class Templates options (Tools | IDE Options). */ package rmi; import java.io.Serializable; import java.rmi.Remote; import java.rmi.RemoteException; // The interface of an RMI object // must subclass Remote. // // The methods to be remotely invoked // must throw RemoteException. public interface Computable extends Remote { public void println(Serializable arg) throws RemoteException; }