root / src / peer / PeerInterface.java @ 3
History | View | Annotate | Download (399 Bytes)
1 |
package peer; |
---|---|
2 |
|
3 |
import java.rmi.Remote; |
4 |
import java.rmi.RemoteException; |
5 |
|
6 |
public interface PeerInterface extends Remote { |
7 |
void backup(String path,int replicationDeg) throws RemoteException; |
8 |
void delete(String path) throws RemoteException; |
9 |
void restore(String path) throws RemoteException; |
10 |
void reclaim(float space) throws RemoteException; |
11 |
String state() throws RemoteException; |
12 |
} |