Classe che implementa il servizio Client. More...
Public Member Functions | |
ClientFrame () | |
Costruttore che crea la form ClientFrame e attiva il server RMI C2C_server invocando un thread. More... | |
void | addServer () |
Metodo che estrae dai quattro jTextField i valori numerici, controlla se la stringa ottenuta e' un indirizzo ip e la inserisce nella jList1. More... | |
void | updateFileList () |
Chiamando la funzione "getList" nel ServerRMI, riceve la lista aggiornata dei file condivisi e la inserisce nella jTableShare1. More... | |
void | setServerInList () |
Metodo che richiando p2pclient.ClientGetLocalServerList.start ottiene la lista dei server attivi e la inserisce nella jList1. More... | |
void | removeAllFromTable () |
Metodo che rimuove tutto il contenuto di tabelle e liste nella GUI dei client. More... | |
Static Public Member Functions | |
static boolean | isMyUser (String u) |
Metodo che verifica se la stringa passata corrisponde allo username del client. More... | |
static boolean | isMyPswd (String p) |
Metodo che verifica se la stringa passata corrisponde alla password del client. More... | |
static void | disconnectClient () |
Metodo che effettua la disconnessione del client dal ServerRMI chiamando la funzione "disconnectClient". More... | |
Static Public Attributes | |
static boolean | connection = false |
static boolean | DBG = true |
static JTable | jtabshare |
static Hashtable | h = new Hashtable() |
static javax.swing.JLabel | jLabel4 |
Private Member Functions | |
void | initComponents () |
Metodo chiamato dal costruttore per inizializzare la form WARNING: Do NOT modify this code. More... | |
void | jButton5ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone di LogOut: creazione di un istanza di LogOutFramClient. More... | |
void | jMenuItem1ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone di LogOut dal JMenu: creazione di un istanza di LogOutFramClient. More... | |
void | jButton6ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone di connessione al server. More... | |
void | jButton7ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone di update dei server disponibili. More... | |
void | jMenuItem6ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone dal JMenu di update dei server disponibili. More... | |
void | jMenuItem7ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone dal JMenu di connessione al server. More... | |
void | jButton3ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone di share. More... | |
void | jButton1ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone Open. More... | |
void | jList1MouseClicked (java.awt.event.MouseEvent evt) |
Evento doubleclick sulla lista, che richiama la funzione serverSelected() More... | |
void | jMenuItem3ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone dal jMenu Open. More... | |
void | jMenuItem4ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone del JMenu di share. More... | |
void | jButton4ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone Remove. More... | |
void | jMenuItem5ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone dal JMenu Remove. More... | |
void | jButton10ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone AddServer. More... | |
void | formWindowClosing (java.awt.event.WindowEvent evt) |
Azione da effettuare alla chiusura della finestra: disconnessione del client. More... | |
void | jButton2ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone Update file list. More... | |
void | jButton11ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone Upload file to client. More... | |
void | jButton12ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone Delete file. More... | |
void | jMenuItem8ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone dal JMenu AddServer. More... | |
void | jMenuItem2ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone dal JMenu Update file list. More... | |
void | jMenuItem9ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone dal JMenu Delete file. More... | |
void | jMenuItem10ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone dael JMenu Upload file to client. More... | |
void | jButton8ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone Disconnect client. More... | |
void | jMenuItem11ActionPerformed (java.awt.event.ActionEvent evt) |
Azione effettuata in seguito alla pressione del bottone dal JMenu Disconnect client. More... | |
void | serverSelected () |
Metodo che estrae l'ip del server selezionato dalla jList1, richiede username e password, stabilisce la connessione tramite la funzione RMI "registerToServer" su ServerRMI. More... | |
void | fileOpenRead () |
Metodo che dato un file selezionato dalla jTableShare1, richiede tramite la funzione RMI "getAccessStringRead" a ServerRMI la stringa d'accesso e si collega a C2C_server richiedendo il file con la funzione "getFile". More... | |
void | deleteFile () |
Metodo che dato un file selezionato dalla jTableShare1, richiede tramite la funzione RMI "getAccessStringDelete" a ServerRMI la stringa d'accesso e si collega a C2C_server richiedendo di cancellare il file con la funzione "deleteFile". More... | |
void | uploadFile () |
Metodo che dato un file selezionato dal jFileChooser e un client selezionato da una combo box in una form, richiede tramite la funzione RMI "getAccessStringUpload" a ServerRMI la stringa d'accesso e si collega a C2C_server facendo un upload del file con la funzione "sendFile". More... | |
void | setFileDirectoryListShared () |
Metodo che dato il file selezionato dal jFileChooser, lo invia al ServerRmi tramite la funzione "sendList" e aggiorna la tabella jTableShare. More... | |
void | removeRowSelectedShared () |
Metodo che dato il file selezionato dalla tabella jTableShare, lo rimuove e invia la richiesta di rimozione dalla condivisione al ServerRmi tramite la funzione "removeFile". More... | |
String | setBroadcastIp () throws UnknownHostException |
Metodo che genera l'indirizzo di broadcast di una sottorete. More... | |
Static Private Member Functions | |
static int | booleanToRight (boolean read, boolean write) |
Converte i diritti da due boolean a un intero. More... | |
static boolean | isServerOn (boolean output) |
Metodo che verifica se il server a cui sono connesso e' attivo. More... | |
static boolean | amAlive (boolean output) |
Metodo che verifica se questo client e' ancora connesso al server. More... | |
Private Attributes | |
javax.swing.JButton | jButton1 |
javax.swing.JButton | jButton10 |
javax.swing.JButton | jButton11 |
javax.swing.JButton | jButton12 |
javax.swing.JButton | jButton2 |
javax.swing.JButton | jButton3 |
javax.swing.JButton | jButton4 |
javax.swing.JButton | jButton5 |
javax.swing.JButton | jButton6 |
javax.swing.JButton | jButton7 |
javax.swing.JButton | jButton8 |
javax.swing.JFileChooser | jFileChooser1 |
javax.swing.JLabel | jLabel1 |
javax.swing.JLabel | jLabel2 |
javax.swing.JLabel | jLabel3 |
javax.swing.JLabel | jLabel5 |
javax.swing.JLabel | jLabel6 |
javax.swing.JLabel | jLabel7 |
javax.swing.JLabel | jLabel8 |
javax.swing.JLabel | jLabel9 |
javax.swing.JList | jList1 |
javax.swing.JMenu | jMenu1 |
javax.swing.JMenu | jMenu2 |
javax.swing.JMenu | jMenu3 |
javax.swing.JMenu | jMenu4 |
javax.swing.JMenuBar | jMenuBar1 |
javax.swing.JMenuItem | jMenuItem1 |
javax.swing.JMenuItem | jMenuItem10 |
javax.swing.JMenuItem | jMenuItem11 |
javax.swing.JMenuItem | jMenuItem2 |
javax.swing.JMenuItem | jMenuItem3 |
javax.swing.JMenuItem | jMenuItem4 |
javax.swing.JMenuItem | jMenuItem5 |
javax.swing.JMenuItem | jMenuItem6 |
javax.swing.JMenuItem | jMenuItem7 |
javax.swing.JMenuItem | jMenuItem8 |
javax.swing.JMenuItem | jMenuItem9 |
javax.swing.JScrollPane | jScrollPane2 |
javax.swing.JScrollPane | jScrollPane3 |
javax.swing.JScrollPane | jScrollPane4 |
javax.swing.JSeparator | jSeparator1 |
javax.swing.JSeparator | jSeparator2 |
javax.swing.JSeparator | jSeparator3 |
javax.swing.JSeparator | jSeparator4 |
javax.swing.JTable | jTableShare |
javax.swing.JTable | jTableShare1 |
javax.swing.JTextField | jTextField1 |
javax.swing.JTextField | jTextField2 |
javax.swing.JTextField | jTextField4 |
javax.swing.JTextField | jTextField5 |
Static Private Attributes | |
static String | user = " " |
User e password che il client usa per connettersi al server. More... | |
static String | pswd = " " |
static String | ip_server |
Classe che implementa il servizio Client.
Definition at line 25 of file ClientFrame.java.
|
inline |
Costruttore che crea la form ClientFrame e attiva il server RMI C2C_server invocando un thread.
Definition at line 50 of file ClientFrame.java.
References p2pclient.ThreadRmiRegistryFile.dbg, p2pgui.ClientFrame.initComponents(), p2pgui.ClientFrame.jFileChooser1, p2pgui.ClientFrame.jTableShare, and p2pgui.ClientFrame.jTableShare1.
|
inline |
Metodo che estrae dai quattro jTextField i valori numerici, controlla se la stringa ottenuta e' un indirizzo ip e la inserisce nella jList1.
Definition at line 1066 of file ClientFrame.java.
References p2pgui.ClientFrame.jList1, p2pgui.ClientFrame.jTextField1, p2pgui.ClientFrame.jTextField2, p2pgui.ClientFrame.jTextField4, and p2pgui.ClientFrame.jTextField5.
Referenced by p2pgui.ClientFrame.jButton10ActionPerformed(), and p2pgui.ClientFrame.jMenuItem8ActionPerformed().
|
inlinestaticprivate |
Metodo che verifica se questo client e' ancora connesso al server.
output |
Definition at line 1803 of file ClientFrame.java.
References p2pclient.clientRMI.alive, p2pgui.ClientFrame.ip_server, p2pgui.ClientFrame.jLabel4, p2putility.Util.logClient(), p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), p2pclient.ThreadRmiClient.user, and p2pgui.ClientFrame.user.
Referenced by p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.jButton11ActionPerformed(), p2pgui.ClientFrame.jButton12ActionPerformed(), p2pgui.ClientFrame.jButton1ActionPerformed(), p2pgui.ClientFrame.jButton2ActionPerformed(), p2pgui.ClientFrame.jButton3ActionPerformed(), p2pgui.ClientFrame.jButton4ActionPerformed(), p2pgui.ClientFrame.jButton6ActionPerformed(), p2pgui.ClientFrame.jButton8ActionPerformed(), p2pgui.ClientFrame.jList1MouseClicked(), p2pgui.ClientFrame.jMenuItem10ActionPerformed(), p2pgui.ClientFrame.jMenuItem11ActionPerformed(), p2pgui.ClientFrame.jMenuItem2ActionPerformed(), p2pgui.ClientFrame.jMenuItem3ActionPerformed(), p2pgui.ClientFrame.jMenuItem4ActionPerformed(), p2pgui.ClientFrame.jMenuItem5ActionPerformed(), p2pgui.ClientFrame.jMenuItem7ActionPerformed(), and p2pgui.ClientFrame.jMenuItem9ActionPerformed().
|
inlinestaticprivate |
Converte i diritti da due boolean a un intero.
read | diritto di lettura |
write | diritto di scrittura |
Definition at line 1633 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.setFileDirectoryListShared().
|
inlineprivate |
Metodo che dato un file selezionato dalla jTableShare1, richiede tramite la funzione RMI "getAccessStringDelete" a ServerRMI la stringa d'accesso e si collega a C2C_server richiedendo di cancellare il file con la funzione "deleteFile".
Successivamente avvisa il server che il file e' stato cancellato
Definition at line 1337 of file ClientFrame.java.
References p2pclient.clientRMI.accessString, p2pgui.ClientFrame.DBG, p2pclient.clientRMI.id_file, p2pclient.clientRMI.id_owner, p2pgui.ClientFrame.jTableShare, p2pgui.ClientFrame.jTableShare1, p2putility.Util.logGeneric(), p2pclient.clientRMI.name_file, p2pclient.clientRMI.path_file, p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), p2pclient.ThreadRmiFile.server_ip, p2pclient.ThreadRmiClient.user, and p2pgui.ClientFrame.user.
Referenced by p2pgui.ClientFrame.jButton12ActionPerformed(), and p2pgui.ClientFrame.jMenuItem9ActionPerformed().
|
inlinestatic |
Metodo che effettua la disconnessione del client dal ServerRMI chiamando la funzione "disconnectClient".
Definition at line 1896 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pclient.ThreadRmiClient.ip, p2pgui.ClientFrame.ip_server, p2pgui.ClientFrame.isServerOn(), p2putility.Util.logClient(), p2putility.Util.logGeneric(), p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), and p2pgui.ClientFrame.user.
Referenced by p2pgui.ClientFrame.formWindowClosing(), p2pgui.ClientFrame.jButton8ActionPerformed(), p2pgui.ClientFrame.jMenuItem11ActionPerformed(), and p2pgui.LogOutFrameClient.okButtonActionPerformed().
|
inlineprivate |
Metodo che dato un file selezionato dalla jTableShare1, richiede tramite la funzione RMI "getAccessStringRead" a ServerRMI la stringa d'accesso e si collega a C2C_server richiedendo il file con la funzione "getFile".
Definition at line 1254 of file ClientFrame.java.
References p2pclient.clientRMI.accessString, p2pgui.ClientFrame.DBG, p2pclient.clientRMI.id_file, p2pclient.clientRMI.id_owner, p2pgui.ClientFrame.jTableShare1, p2putility.Util.logGeneric(), p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), p2pclient.ThreadRmiFile.server_ip, p2pclient.ThreadRmiClient.user, and p2pgui.ClientFrame.user.
Referenced by p2pgui.ClientFrame.jButton1ActionPerformed(), and p2pgui.ClientFrame.jMenuItem3ActionPerformed().
|
inlineprivate |
Azione da effettuare alla chiusura della finestra: disconnessione del client.
evt |
Definition at line 840 of file ClientFrame.java.
References p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.jLabel6, p2putility.Config.r_ico_server_disable(), p2putility.Config.r_serverOpen(), and p2putility.Config.w_clientOpen().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Metodo chiamato dal costruttore per inizializzare la form WARNING: Do NOT modify this code.
The content of this method is always regenerated by the Form Editor.
Definition at line 75 of file ClientFrame.java.
References p2pgui.ClientFrame.formWindowClosing(), p2pgui.ClientFrame.jButton1, p2pgui.ClientFrame.jButton10, p2pgui.ClientFrame.jButton10ActionPerformed(), p2pgui.ClientFrame.jButton11, p2pgui.ClientFrame.jButton11ActionPerformed(), p2pgui.ClientFrame.jButton12, p2pgui.ClientFrame.jButton12ActionPerformed(), p2pgui.ClientFrame.jButton1ActionPerformed(), p2pgui.ClientFrame.jButton2, p2pgui.ClientFrame.jButton2ActionPerformed(), p2pgui.ClientFrame.jButton3, p2pgui.ClientFrame.jButton3ActionPerformed(), p2pgui.ClientFrame.jButton4, p2pgui.ClientFrame.jButton4ActionPerformed(), p2pgui.ClientFrame.jButton5, p2pgui.ClientFrame.jButton5ActionPerformed(), p2pgui.ClientFrame.jButton6, p2pgui.ClientFrame.jButton6ActionPerformed(), p2pgui.ClientFrame.jButton7, p2pgui.ClientFrame.jButton7ActionPerformed(), p2pgui.ClientFrame.jButton8, p2pgui.ClientFrame.jButton8ActionPerformed(), p2pgui.ClientFrame.jFileChooser1, p2pgui.ClientFrame.jLabel1, p2pgui.ClientFrame.jLabel2, p2pgui.ClientFrame.jLabel3, p2pgui.ClientFrame.jLabel4, p2pgui.ClientFrame.jLabel5, p2pgui.ClientFrame.jLabel6, p2pgui.ClientFrame.jLabel7, p2pgui.ClientFrame.jLabel8, p2pgui.ClientFrame.jLabel9, p2pgui.ClientFrame.jList1, p2pgui.ClientFrame.jList1MouseClicked(), p2pgui.ClientFrame.jMenu1, p2pgui.ClientFrame.jMenu2, p2pgui.ClientFrame.jMenu3, p2pgui.ClientFrame.jMenu4, p2pgui.ClientFrame.jMenuBar1, p2pgui.ClientFrame.jMenuItem1, p2pgui.ClientFrame.jMenuItem10, p2pgui.ClientFrame.jMenuItem10ActionPerformed(), p2pgui.ClientFrame.jMenuItem11, p2pgui.ClientFrame.jMenuItem11ActionPerformed(), p2pgui.ClientFrame.jMenuItem1ActionPerformed(), p2pgui.ClientFrame.jMenuItem2, p2pgui.ClientFrame.jMenuItem2ActionPerformed(), p2pgui.ClientFrame.jMenuItem3, p2pgui.ClientFrame.jMenuItem3ActionPerformed(), p2pgui.ClientFrame.jMenuItem4, p2pgui.ClientFrame.jMenuItem4ActionPerformed(), p2pgui.ClientFrame.jMenuItem5, p2pgui.ClientFrame.jMenuItem5ActionPerformed(), p2pgui.ClientFrame.jMenuItem6, p2pgui.ClientFrame.jMenuItem6ActionPerformed(), p2pgui.ClientFrame.jMenuItem7, p2pgui.ClientFrame.jMenuItem7ActionPerformed(), p2pgui.ClientFrame.jMenuItem8, p2pgui.ClientFrame.jMenuItem8ActionPerformed(), p2pgui.ClientFrame.jMenuItem9, p2pgui.ClientFrame.jMenuItem9ActionPerformed(), p2pgui.ClientFrame.jScrollPane2, p2pgui.ClientFrame.jScrollPane3, p2pgui.ClientFrame.jScrollPane4, p2pgui.ClientFrame.jSeparator1, p2pgui.ClientFrame.jSeparator2, p2pgui.ClientFrame.jSeparator3, p2pgui.ClientFrame.jSeparator4, p2pgui.ClientFrame.jTableShare, p2pgui.ClientFrame.jTableShare1, p2pgui.ClientFrame.jTextField1, p2pgui.ClientFrame.jTextField2, p2pgui.ClientFrame.jTextField4, and p2pgui.ClientFrame.jTextField5.
Referenced by p2pgui.ClientFrame.ClientFrame().
|
inlinestatic |
Metodo che verifica se la stringa passata corrisponde alla password del client.
p | password |
Definition at line 1752 of file ClientFrame.java.
References p2pgui.ClientFrame.pswd.
Referenced by p2pclient.C2C_server.addAuthUser().
|
inlinestatic |
Metodo che verifica se la stringa passata corrisponde allo username del client.
u | username |
Definition at line 1737 of file ClientFrame.java.
References p2pgui.ClientFrame.user.
Referenced by p2pclient.C2C_server.addAuthUser().
|
inlinestaticprivate |
Metodo che verifica se il server a cui sono connesso e' attivo.
output |
Definition at line 1767 of file ClientFrame.java.
References p2pclient.ThreadRmiClient.ip, p2pgui.ClientFrame.ip_server, p2pclient.clientRMI.ison, p2putility.Util.logGeneric(), p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), and p2pgui.ClientFrame.user.
Referenced by p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.jButton11ActionPerformed(), p2pgui.ClientFrame.jButton12ActionPerformed(), p2pgui.ClientFrame.jButton1ActionPerformed(), p2pgui.ClientFrame.jButton2ActionPerformed(), p2pgui.ClientFrame.jButton3ActionPerformed(), p2pgui.ClientFrame.jButton4ActionPerformed(), p2pgui.ClientFrame.jButton6ActionPerformed(), p2pgui.ClientFrame.jButton8ActionPerformed(), p2pgui.ClientFrame.jList1MouseClicked(), p2pgui.ClientFrame.jMenuItem10ActionPerformed(), p2pgui.ClientFrame.jMenuItem11ActionPerformed(), p2pgui.ClientFrame.jMenuItem2ActionPerformed(), p2pgui.ClientFrame.jMenuItem3ActionPerformed(), p2pgui.ClientFrame.jMenuItem4ActionPerformed(), p2pgui.ClientFrame.jMenuItem5ActionPerformed(), p2pgui.ClientFrame.jMenuItem7ActionPerformed(), and p2pgui.ClientFrame.jMenuItem9ActionPerformed().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone AddServer.
Richiama la funzione addServer()
evt |
Definition at line 831 of file ClientFrame.java.
References p2pgui.ClientFrame.addServer().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone Upload file to client.
Richiama la funzione uploadFile()
evt |
Definition at line 877 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.uploadFile().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone Delete file.
Richiama la funzione deleteFile()
evt |
Definition at line 894 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.isServerOn(), and p2pgui.ClientFrame.removeAllFromTable().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone Open.
Richiama la funzione fileOpenRead(), per effettuare la get del file selezionato
evt |
Definition at line 718 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.fileOpenRead(), p2pgui.ClientFrame.isServerOn(), and p2pgui.ClientFrame.removeAllFromTable().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone Update file list.
Richiama la funzione updateFileList() e aggiorna la lista dei file condivisi
evt |
Definition at line 859 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.updateFileList().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone di share.
Richiama la funzione setFileDirectoryListShared()
evt |
Definition at line 698 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.setFileDirectoryListShared().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone Remove.
Richiama la funzione removeRowSelectedShared(), per rimuovere la condivisione del file selezionato
evt |
Definition at line 796 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.removeRowSelectedShared().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone di LogOut: creazione di un istanza di LogOutFramClient.
evt |
Definition at line 615 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone di connessione al server.
Richiama la funzione serverSelected()
evt |
Definition at line 637 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.ip_server, p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.pswd, p2pgui.ClientFrame.removeAllFromTable(), p2pgui.ClientFrame.serverSelected(), and p2pgui.ClientFrame.user.
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone di update dei server disponibili.
Richiama la funzione setServerInList()
evt |
Ottieni un'array di stringhe con i nomi dei server attivi
Definition at line 658 of file ClientFrame.java.
References p2pgui.ClientFrame.setServerInList().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone Disconnect client.
Richiama la funzione disconnectClient()
evt |
Definition at line 973 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.isServerOn(), and p2pgui.ClientFrame.removeAllFromTable().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Evento doubleclick sulla lista, che richiama la funzione serverSelected()
evt |
Definition at line 736 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.ip_server, p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.pswd, p2pgui.ClientFrame.removeAllFromTable(), p2pgui.ClientFrame.serverSelected(), and p2pgui.ClientFrame.user.
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone dael JMenu Upload file to client.
Richiama la funzione uploadFile()
evt |
Definition at line 956 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.uploadFile().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone dal JMenu Disconnect client.
Richiama la funzione disconnectClient()
evt |
Definition at line 991 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.isServerOn(), and p2pgui.ClientFrame.removeAllFromTable().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone di LogOut dal JMenu: creazione di un istanza di LogOutFramClient.
evt |
Definition at line 626 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone dal JMenu Update file list.
Richiama la funzione updateFileList() e aggiorna la lista dei file condivisi
evt |
Definition at line 921 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.updateFileList().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone dal jMenu Open.
Richiama la funzione fileOpenRead(), per effettuare la get del file selezionato
evt |
Definition at line 760 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.fileOpenRead(), p2pgui.ClientFrame.isServerOn(), and p2pgui.ClientFrame.removeAllFromTable().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone del JMenu di share.
Richiama la funzione setFileDirectoryListShared()
evt |
Definition at line 778 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.setFileDirectoryListShared().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone dal JMenu Remove.
Richiama la funzione removeRowSelectedShared(), per rimuovere la condivisione del file selezionato
evt |
Definition at line 814 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.removeRowSelectedShared().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone dal JMenu di update dei server disponibili.
Richiama la funzione setServerInList()
evt |
Ottieni un'array di stringhe con i nomi dei server attivi
Definition at line 668 of file ClientFrame.java.
References p2pgui.ClientFrame.setServerInList().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone dal JMenu di connessione al server.
Richiama la funzione serverSelected()
evt |
Definition at line 678 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.ip_server, p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.pswd, p2pgui.ClientFrame.removeAllFromTable(), p2pgui.ClientFrame.serverSelected(), and p2pgui.ClientFrame.user.
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone dal JMenu AddServer.
Richiama la funzione addServer()
evt |
Definition at line 911 of file ClientFrame.java.
References p2pgui.ClientFrame.addServer().
Referenced by p2pgui.ClientFrame.initComponents().
|
inlineprivate |
Azione effettuata in seguito alla pressione del bottone dal JMenu Delete file.
Richiama la funzione deleteFile()
evt |
Definition at line 939 of file ClientFrame.java.
References p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.jLabel6, and p2putility.Config.r_ico_server_disable().
Referenced by p2pgui.ClientFrame.initComponents().
|
inline |
Metodo che rimuove tutto il contenuto di tabelle e liste nella GUI dei client.
Definition at line 1840 of file ClientFrame.java.
References p2pgui.ClientFrame.h, p2pgui.ClientFrame.jLabel4, p2pgui.ClientFrame.jLabel6, p2pgui.ClientFrame.jList1, p2pgui.ClientFrame.jTableShare, p2pgui.ClientFrame.jTableShare1, p2putility.Util.logGeneric(), and p2putility.Config.r_ico_server_disable().
Referenced by p2pgui.ClientFrame.jButton11ActionPerformed(), p2pgui.ClientFrame.jButton12ActionPerformed(), p2pgui.ClientFrame.jButton1ActionPerformed(), p2pgui.ClientFrame.jButton2ActionPerformed(), p2pgui.ClientFrame.jButton3ActionPerformed(), p2pgui.ClientFrame.jButton4ActionPerformed(), p2pgui.ClientFrame.jButton6ActionPerformed(), p2pgui.ClientFrame.jButton8ActionPerformed(), p2pgui.ClientFrame.jList1MouseClicked(), p2pgui.ClientFrame.jMenuItem10ActionPerformed(), p2pgui.ClientFrame.jMenuItem11ActionPerformed(), p2pgui.ClientFrame.jMenuItem2ActionPerformed(), p2pgui.ClientFrame.jMenuItem3ActionPerformed(), p2pgui.ClientFrame.jMenuItem4ActionPerformed(), p2pgui.ClientFrame.jMenuItem5ActionPerformed(), and p2pgui.ClientFrame.jMenuItem7ActionPerformed().
|
inlineprivate |
Metodo che dato il file selezionato dalla tabella jTableShare, lo rimuove e invia la richiesta di rimozione dalla condivisione al ServerRmi tramite la funzione "removeFile".
Definition at line 1659 of file ClientFrame.java.
References p2pgui.ClientFrame.h, p2pgui.ClientFrame.jTableShare, p2putility.Util.logGeneric(), p2pclient.clientRMI.name_file, p2pclient.clientRMI.path_file, p2pgui.ClientFrame.pswd, p2pclient.ThreadRmiClient.user, and p2pgui.ClientFrame.user.
Referenced by p2pgui.ClientFrame.jButton4ActionPerformed(), and p2pgui.ClientFrame.jMenuItem5ActionPerformed().
|
inlineprivate |
Metodo che estrae l'ip del server selezionato dalla jList1, richiede username e password, stabilisce la connessione tramite la funzione RMI "registerToServer" su ServerRMI.
Definition at line 1193 of file ClientFrame.java.
References p2putility.Util.hash_sha(), p2pclient.clientRMI.id_user, p2pgui.ClientFrame.ip_server, p2pgui.ClientFrame.jLabel4, p2pgui.ClientFrame.jLabel6, p2pgui.ClientFrame.jList1, p2putility.Util.logGeneric(), p2pgui.ClientFrame.pswd, p2putility.Config.r_ico_server_enable(), p2putility.Config.r_threadtimeout(), and p2pgui.ClientFrame.user.
Referenced by p2pgui.ClientFrame.jButton6ActionPerformed(), p2pgui.ClientFrame.jList1MouseClicked(), and p2pgui.ClientFrame.jMenuItem7ActionPerformed().
|
inlineprivate |
Metodo che genera l'indirizzo di broadcast di una sottorete.
java.net.UnknownHostException |
Definition at line 1693 of file ClientFrame.java.
References p2putility.Config.r_netmask().
Referenced by p2pgui.ClientFrame.setServerInList().
|
inlineprivate |
Metodo che dato il file selezionato dal jFileChooser, lo invia al ServerRmi tramite la funzione "sendList" e aggiorna la tabella jTableShare.
Definition at line 1565 of file ClientFrame.java.
References p2pgui.ClientFrame.booleanToRight(), p2pgui.ClientFrame.h, p2pgui.ClientFrame.jFileChooser1, p2pgui.ClientFrame.jTableShare, p2pclient.clientRMI.list, p2pgui.ClientFrame.pswd, p2pgui.Rights.read, p2pclient.ThreadRmiClient.user, p2pgui.ClientFrame.user, and p2pgui.Rights.write.
Referenced by p2pgui.ClientFrame.jButton3ActionPerformed(), and p2pgui.ClientFrame.jMenuItem4ActionPerformed().
|
inline |
Metodo che richiando p2pclient.ClientGetLocalServerList.start ottiene la lista dei server attivi e la inserisce nella jList1.
Definition at line 1162 of file ClientFrame.java.
References p2pgui.ClientFrame.jList1, p2putility.Util.logClient(), p2putility.Config.r_port(), p2putility.Config.r_threadtimeout(), p2pgui.ClientFrame.setBroadcastIp(), and p2pclient.ClientGetLocalServerList.start().
Referenced by p2pgui.ClientFrame.jButton7ActionPerformed(), and p2pgui.ClientFrame.jMenuItem6ActionPerformed().
|
inline |
Chiamando la funzione "getList" nel ServerRMI, riceve la lista aggiornata dei file condivisi e la inserisce nella jTableShare1.
Definition at line 1104 of file ClientFrame.java.
References p2pgui.ClientFrame.jTableShare1, p2pclient.clientRMI.list, p2putility.Util.logGeneric(), p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), p2pclient.ThreadRmiClient.user, p2pgui.ClientFrame.user, and p2pclient.clientRMI.where.
Referenced by p2pgui.ClientFrame.jButton2ActionPerformed(), and p2pgui.ClientFrame.jMenuItem2ActionPerformed().
|
inlineprivate |
Metodo che dato un file selezionato dal jFileChooser e un client selezionato da una combo box in una form, richiede tramite la funzione RMI "getAccessStringUpload" a ServerRMI la stringa d'accesso e si collega a C2C_server facendo un upload del file con la funzione "sendFile".
Definition at line 1468 of file ClientFrame.java.
References p2pclient.clientRMI.accessString, p2putility.Util.hash_sha(), p2pclient.clientRMI.id_file, p2pclient.clientRMI.id_owner, p2pgui.ClientFrame.jFileChooser1, p2pclient.clientRMI.list, p2putility.Util.logGeneric(), p2pgui.ClientFrame.pswd, p2putility.Config.r_threadtimeout(), p2pclient.ThreadRmiFile.server_ip, p2pclient.ThreadRmiClient.user, p2pgui.ClientFrame.user, and p2pclient.clientRMI.where.
Referenced by p2pgui.ClientFrame.jButton11ActionPerformed(), and p2pgui.ClientFrame.jMenuItem10ActionPerformed().
|
static |
Definition at line 28 of file ClientFrame.java.
|
static |
Definition at line 30 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.deleteFile(), and p2pgui.ClientFrame.fileOpenRead().
|
static |
Definition at line 41 of file ClientFrame.java.
Referenced by p2pclient.C2C_server.deleteFile(), p2pgui.ClientFrame.removeAllFromTable(), p2pgui.ClientFrame.removeRowSelectedShared(), and p2pgui.ClientFrame.setFileDirectoryListShared().
|
staticprivate |
Definition at line 38 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.jButton6ActionPerformed(), p2pgui.ClientFrame.jList1MouseClicked(), p2pgui.ClientFrame.jMenuItem7ActionPerformed(), and p2pgui.ClientFrame.serverSelected().
|
private |
Definition at line 1005 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1006 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1007 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1008 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1009 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1010 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1011 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1012 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1013 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1014 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1015 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1016 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.ClientFrame(), p2pgui.ClientFrame.initComponents(), p2pgui.ClientFrame.setFileDirectoryListShared(), and p2pgui.ClientFrame.uploadFile().
|
private |
Definition at line 1017 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1018 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1019 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
static |
Definition at line 1020 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.initComponents(), p2pclient.clientRMI.main(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.serverSelected().
|
private |
Definition at line 1021 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1022 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.formWindowClosing(), p2pgui.ClientFrame.initComponents(), p2pgui.ClientFrame.jMenuItem9ActionPerformed(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.serverSelected().
|
private |
Definition at line 1023 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1024 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1025 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1026 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.addServer(), p2pgui.ClientFrame.initComponents(), p2pgui.ClientFrame.removeAllFromTable(), p2pgui.ClientFrame.serverSelected(), and p2pgui.ClientFrame.setServerInList().
|
private |
Definition at line 1027 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1028 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1029 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1030 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1031 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1032 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1033 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1034 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1035 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1036 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1037 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1038 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1039 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1040 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1041 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1042 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1043 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1044 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1045 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1046 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1047 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1048 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1049 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1050 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.ClientFrame(), p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.initComponents(), p2pgui.ClientFrame.removeAllFromTable(), p2pgui.ClientFrame.removeRowSelectedShared(), and p2pgui.ClientFrame.setFileDirectoryListShared().
|
private |
Definition at line 1051 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.ClientFrame(), p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.fileOpenRead(), p2pgui.ClientFrame.initComponents(), p2pgui.ClientFrame.removeAllFromTable(), and p2pgui.ClientFrame.updateFileList().
|
static |
Definition at line 33 of file ClientFrame.java.
Referenced by p2pclient.C2C_server.deleteFile().
|
private |
Definition at line 1052 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.addServer(), and p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1053 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.addServer(), and p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1054 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.addServer(), and p2pgui.ClientFrame.initComponents().
|
private |
Definition at line 1055 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.addServer(), and p2pgui.ClientFrame.initComponents().
|
staticprivate |
Definition at line 37 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.fileOpenRead(), p2pgui.ClientFrame.isMyPswd(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.jButton6ActionPerformed(), p2pgui.ClientFrame.jList1MouseClicked(), p2pgui.ClientFrame.jMenuItem7ActionPerformed(), p2pgui.ClientFrame.removeRowSelectedShared(), p2pgui.ClientFrame.serverSelected(), p2pgui.ClientFrame.setFileDirectoryListShared(), p2pgui.ClientFrame.updateFileList(), and p2pgui.ClientFrame.uploadFile().
|
staticprivate |
User e password che il client usa per connettersi al server.
Definition at line 36 of file ClientFrame.java.
Referenced by p2pgui.ClientFrame.amAlive(), p2pgui.ClientFrame.deleteFile(), p2pgui.ClientFrame.disconnectClient(), p2pgui.ClientFrame.fileOpenRead(), p2pgui.ClientFrame.isMyUser(), p2pgui.ClientFrame.isServerOn(), p2pgui.ClientFrame.jButton6ActionPerformed(), p2pgui.ClientFrame.jList1MouseClicked(), p2pgui.ClientFrame.jMenuItem7ActionPerformed(), p2pgui.ClientFrame.removeRowSelectedShared(), p2pgui.ClientFrame.serverSelected(), p2pgui.ClientFrame.setFileDirectoryListShared(), p2pgui.ClientFrame.updateFileList(), and p2pgui.ClientFrame.uploadFile().