import java.lang.*; import java.io.*; import java.rmi.*; import java.rmi.server.UnicastRemoteObject; public class PhileImpl extends UnicastRemoteObject implements Phile, Serializable { private String name=null; private int opcount=0; // *** STORE OTHER STUFF IN HERE, LIKE MODE, CURRENT FILE POSITION, ETC. *** public PhileImpl(String name) throws java.rmi.RemoteException { this.name=name; } public String getID() throws java.rmi.RemoteException { return name; } public int getOperationCount() { try { return opcount; } catch (Exception e) { return 0; } } public void setOperationCount(int opcount) { try { this.opcount = opcount; } catch (Exception e) { } } }