Project

General

Profile

Statistics
| Revision:

sdis1819-t7g02 / service / RMI.java

History | View | Annotate | Download (414 Bytes)

1
package service;
2

    
3
import java.rmi.Remote;
4
import java.rmi.RemoteException;
5

    
6
public interface RMI extends Remote
7
{
8
  String backup(String file_path, int replication_degree) throws RemoteException;
9
  String restore(String file_path) throws RemoteException;
10
  String delete(String file_path) throws RemoteException;
11
  String reclaim(long disk_space) throws RemoteException;
12
  String state() throws RemoteException;
13
}