Project

General

Profile

Statistics
| Revision:

root / DistributedBackupService / src / server / InitiatorPeer.java

History | View | Annotate | Download (431 Bytes)

1 1 up20130859
package server;
2
3
import java.io.File;
4
import java.rmi.Remote;
5
import java.rmi.RemoteException;
6
7
public interface InitiatorPeer extends Remote {
8
    String backup(File file, int replicationDegree) throws RemoteException;
9
    void restore(String pathname) throws RemoteException;
10
    void delete(String pathname) throws RemoteException;
11
    void reclaim(int space) throws RemoteException;
12
    void state() throws RemoteException;
13
}