suppression de ServerB1v1
This commit is contained in:
parent
af08ac1153
commit
51dd4b9ac1
2 changed files with 3 additions and 23 deletions
|
@ -1,23 +0,0 @@
|
||||||
package Réseau;
|
|
||||||
|
|
||||||
import java.io.*;
|
|
||||||
import java.net.*;
|
|
||||||
|
|
||||||
public class serverB1v1 extends Thread{
|
|
||||||
|
|
||||||
public static void main(String[] args) throws IOException {
|
|
||||||
ServerSocket servSocket = new ServerSocket(7770);
|
|
||||||
Socket link = servSocket.accept();
|
|
||||||
|
|
||||||
System.out.println("client connected");
|
|
||||||
|
|
||||||
InputStreamReader in = new InputStreamReader(link.getInputStream());
|
|
||||||
BufferedReader bf = new BufferedReader(in);
|
|
||||||
|
|
||||||
String str = bf.readLine();
|
|
||||||
System.out.println("clent : " + str);
|
|
||||||
|
|
||||||
link.close();
|
|
||||||
servSocket.close();
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -5,8 +5,11 @@ import java.util.List;
|
||||||
|
|
||||||
public class GestionnaireListeUtilisateur {
|
public class GestionnaireListeUtilisateur {
|
||||||
|
|
||||||
|
//contient la liste Utilisateur à jour
|
||||||
public List<String> listeUtilisateur = new ArrayList<String>();
|
public List<String> listeUtilisateur = new ArrayList<String>();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//crée la liste utilisateur initial ?
|
//crée la liste utilisateur initial ?
|
||||||
public GestionnaireListeUtilisateur() {
|
public GestionnaireListeUtilisateur() {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue