Classe che implementa il client RMI che si interfaccia a ServerRMI, richiamando le funzione dell'interfaccia RMIFuncConstructor. More...
Static Public Member Functions | |
static void | main (String[] args) |
Metodo main che a seconda del nome della funzione inserita, richiama la corrispettiva su serverRMI. More... | |
Static Public Attributes | |
static int | id_user |
static String | id_owner |
static ArrayList | list |
static String | name_file |
static String | path_file |
static String | where = "" |
static String | accessString = "-1" |
static String | id_file |
static int | deleted |
static boolean | ison = false |
static boolean | alive = false |
Classe che implementa il client RMI che si interfaccia a ServerRMI, richiamando le funzione dell'interfaccia RMIFuncConstructor.
Definition at line 13 of file clientRMI.java.
|
inlinestatic |
Metodo main che a seconda del nome della funzione inserita, richiama la corrispettiva su serverRMI.
args | ip server, username, password, nome funzione |
Definition at line 34 of file clientRMI.java.
References p2pclient.RMIFuncConstructor.clientAlive(), p2pclient.RMIFuncConstructor.disconnectClient(), p2pclient.RMIFuncConstructor.getAccessStringDelete(), p2pclient.RMIFuncConstructor.getAccessStringRead(), p2pclient.RMIFuncConstructor.getAccessStringUpload(), p2pclient.RMIFuncConstructor.getList(), p2pclient.RMIFuncConstructor.getUserList(), p2pgui.ClientFrame.jLabel4, p2putility.Util.logClient(), p2pclient.RMIFuncConstructor.registerToServer(), p2pclient.RMIFuncConstructor.removeFile(), p2pclient.RMIFuncConstructor.sendList(), and p2pclient.RMIFuncConstructor.serverOn().
Referenced by p2pclient.ThreadRmiClient.run().
|
static |
Definition at line 21 of file clientRMI.java.
Referenced by p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.fileOpenRead(), and p2pgui.ClientFrame.uploadFile().
|
static |
Definition at line 26 of file clientRMI.java.
Referenced by p2pgui.ClientFrame.amAlive().
|
static |
Definition at line 24 of file clientRMI.java.
|
static |
Definition at line 22 of file clientRMI.java.
Referenced by p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.fileOpenRead(), and p2pgui.ClientFrame.uploadFile().
|
static |
Definition at line 16 of file clientRMI.java.
Referenced by p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.fileOpenRead(), and p2pgui.ClientFrame.uploadFile().
|
static |
Definition at line 15 of file clientRMI.java.
Referenced by p2pgui.ClientFrame.serverSelected().
|
static |
Definition at line 25 of file clientRMI.java.
Referenced by p2pgui.ClientFrame.isServerOn().
|
static |
Definition at line 17 of file clientRMI.java.
Referenced by p2pgui.ClientFrame.setFileDirectoryListShared(), p2pgui.ClientFrame.updateFileList(), and p2pgui.ClientFrame.uploadFile().
|
static |
Definition at line 18 of file clientRMI.java.
Referenced by p2pgui.ClientFrame.deleteFile(), and p2pgui.ClientFrame.removeRowSelectedShared().
|
static |
Definition at line 19 of file clientRMI.java.
Referenced by p2pgui.ClientFrame.deleteFile(), and p2pgui.ClientFrame.removeRowSelectedShared().
|
static |
Definition at line 20 of file clientRMI.java.
Referenced by p2pgui.ClientFrame.updateFileList(), and p2pgui.ClientFrame.uploadFile().