|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
DFSS.DFSSserviceManager
| Constructor Summary | |
DFSSserviceManager(HostID myID,
IQueueManager queue,
IQueueManager msgQueue,
CallManager call,
Datamanager data,
IGroupManager group,
IFileRepositoryServer rep,
boolean ready)
Costruttore |
|
| Method Summary | |
void |
aggiungiNodo(HostID in)
Permette di aggiungere un nuovo nodo |
void |
apprendi(Directory root,
HostID[] hosts)
|
void |
creaFile(java.lang.String path,
IClientCallBack cl)
Crea il file path |
void |
createDirectory(java.lang.String path,
IClientCallBack cl)
Creo la cartella path |
void |
getDirectory(java.lang.String path,
IClientCallBack client)
Accede al contenuto della cartella path |
void |
leggiFile(java.lang.String path,
IClientCallBack cl)
Permette di avere acceso in lettura al file path |
static void |
main(java.lang.String[] args)
|
boolean |
receiveMessage(Message in)
Metodo che permette la ricezione di un messaggio |
void |
rimuoviDirectory(java.lang.String path,
IClientCallBack cl)
Rimuove la directory path |
void |
rimuoviFile(java.lang.String path,
IClientCallBack cl)
Elimina il file path |
void |
scriviFile(java.lang.String path,
boolean append,
IClientCallBack cl)
permette di avere un acceso in scrittura al file path |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DFSSserviceManager(HostID myID,
IQueueManager queue,
IQueueManager msgQueue,
CallManager call,
Datamanager data,
IGroupManager group,
IFileRepositoryServer rep,
boolean ready)
throws java.rmi.RemoteException
| Method Detail |
public boolean receiveMessage(Message in)
throws java.rmi.RemoteException
receiveMessage in interface IDistributedFileSystemServiceManagerjava.rmi.RemoteException
public void aggiungiNodo(HostID in)
throws java.rmi.RemoteException
aggiungiNodo in interface IDistributedFileSystemServiceManagerjava.rmi.RemoteException
public void apprendi(Directory root,
HostID[] hosts)
throws java.rmi.RemoteException
apprendi in interface IDistributedFileSystemServiceManagerjava.rmi.RemoteException
public void getDirectory(java.lang.String path,
IClientCallBack client)
throws java.rmi.RemoteException
getDirectory in interface IDistributedFileSystemServicejava.rmi.RemoteException
public void createDirectory(java.lang.String path,
IClientCallBack cl)
throws java.rmi.RemoteException
createDirectory in interface IDistributedFileSystemServicejava.rmi.RemoteException
public void rimuoviDirectory(java.lang.String path,
IClientCallBack cl)
throws java.rmi.RemoteException
rimuoviDirectory in interface IDistributedFileSystemServicejava.rmi.RemoteException
public void leggiFile(java.lang.String path,
IClientCallBack cl)
throws java.rmi.RemoteException
leggiFile in interface IDistributedFileSystemServicejava.rmi.RemoteException
public void scriviFile(java.lang.String path,
boolean append,
IClientCallBack cl)
throws java.rmi.RemoteException
scriviFile in interface IDistributedFileSystemServicejava.rmi.RemoteException
public void creaFile(java.lang.String path,
IClientCallBack cl)
throws java.rmi.RemoteException
creaFile in interface IDistributedFileSystemServicejava.rmi.RemoteException
public void rimuoviFile(java.lang.String path,
IClientCallBack cl)
throws java.rmi.RemoteException
rimuoviFile in interface IDistributedFileSystemServicejava.rmi.RemoteExceptionpublic static void main(java.lang.String[] args)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||