root / server / InterfaceServer.java @ 13
History | View | Annotate | Download (488 Bytes)
1 | 13 | up20160473 | package server; |
---|---|---|---|
2 | |||
3 | import java.rmi.Remote; |
||
4 | import java.rmi.RemoteException; |
||
5 | |||
6 | // Creating Remote interface for our application
|
||
7 | public interface InterfaceServer extends Remote { |
||
8 | void backupFile(String path,int replication) throws RemoteException; |
||
9 | void restoreFile(String path) throws RemoteException; |
||
10 | void deleteFile(String path) throws RemoteException; |
||
11 | void manageLocalStorage(int size) throws RemoteException; |
||
12 | void retrieveLocalInformation() throws RemoteException; |
||
13 | } |