import java.rmi.*;
import java.util.Vector;
public interface Shape extends
Remote {
int getVersion() throws RemoteException;
GraphicalObject
getAllState() throws RemoteException;
}
public interface ShapeList extends Remote {
Shape newShape(GraphicalObject g) throws RemoteException; 2
Vector allShapes() throws RemoteException;
int getVersion() throws RemoteException;
}