FRS
Interface IFileRepositoryServer

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
DefaultRepositoryServer

public interface IFileRepositoryServer
extends java.rmi.Remote

Author:
Dario Agostinone Interfcaccia del RepositoryServer

Method Summary
 void accediInLettura(java.lang.String path, IClientCallBack cl)
          Accede in lettura ad un file
 void accediInScrittura(java.lang.String path, boolean append, IClientCallBack cl)
          Accede in scrittura ad un file
 boolean creaFile(java.lang.String path)
          Crea un file
 void eliminaFile(java.lang.String path)
          Rlimina un file
 void registra(java.lang.String rep, java.lang.String address)
          Registra un repository
 

Method Detail

creaFile

public boolean creaFile(java.lang.String path)
                 throws java.rmi.RemoteException
Crea un file

Throws:
java.rmi.RemoteException

eliminaFile

public void eliminaFile(java.lang.String path)
                 throws java.rmi.RemoteException
Rlimina un file

Throws:
java.rmi.RemoteException

accediInLettura

public void accediInLettura(java.lang.String path,
                            IClientCallBack cl)
                     throws java.rmi.RemoteException
Accede in lettura ad un file

Throws:
java.rmi.RemoteException

accediInScrittura

public void accediInScrittura(java.lang.String path,
                              boolean append,
                              IClientCallBack cl)
                       throws java.rmi.RemoteException
Accede in scrittura ad un file

Throws:
java.rmi.RemoteException

registra

public void registra(java.lang.String rep,
                     java.lang.String address)
              throws java.rmi.RemoteException
Registra un repository

Throws:
java.rmi.RemoteException