root / TestAppRemote.java @ 1
History | View | Annotate | Download (518 Bytes)
1 |
import java.rmi.Remote; |
---|---|
2 |
import java.rmi.RemoteException; |
3 |
|
4 |
public interface TestAppRemote extends Remote { |
5 |
void backup(String pathname, int replicationDeg, boolean enhanced) throws RemoteException; |
6 |
void restore(String pathname, boolean enhanced) throws RemoteException; |
7 |
void delete(String pathname, boolean enhanced) throws RemoteException; |
8 |
void reclaim(int diskspace) throws RemoteException; |
9 |
void state() throws RemoteException; |
10 |
void chunk(String fileId, byte[] chunk) throws RemoteException; |
11 |
} |