Ajout fonction notify
This commit is contained in:
parent
c3d61ca196
commit
032ab6520c
1 changed files with 10 additions and 0 deletions
|
@ -356,6 +356,16 @@ class RunnerUDP implements Runnable {
|
|||
if (Type.equals("Deconnexion")) {
|
||||
( app.getActifUsers() ).supprimerList(Utilisateur.stringToUtilisateur(received.split("\n")[1]));
|
||||
}
|
||||
|
||||
//*********************************************************************************************************
|
||||
//*********************************************************************************************************
|
||||
//*******************************Connexion d'un utilisateur externe****************************************
|
||||
//*********************************************************************************************************
|
||||
//*********************************************************************************************************
|
||||
if (Type.equals("Connexion Externe")) {
|
||||
Utilisateur nouveau = Utilisateur.stringToUtilisateur(received.split("\n")[1]);
|
||||
app.getActifUsers().addList(nouveau);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue