Revision 3
Update
PeerInterface.java | ||
---|---|---|
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;
|
|
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 | 12 |
} |
Also available in: Unified diff