Ajouter readme test image pour CR

ok
This commit is contained in:
Minh VU
2025-02-04 14:40:18 +01:00
parent 54b7a0cf9a
commit b51594f83a
6 changed files with 16 additions and 3 deletions

View File

@@ -1,4 +1,13 @@
# Squelette du TP # Rapport du TP 1
Réalisé par Thibaut Rochas et Tuan Minh VU
## Partie I: Le classique serveur Echo
### EXERCICE 1 : Version séquentielle
voir le repo XD
### EXERCICE 2 : Test et capture
## Utilisation ## Utilisation

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -20,7 +20,7 @@ class echoServer {
3. appeler la méthode handleBytes() sur le handler 3. appeler la méthode handleBytes() sur le handler
*/ */
Socket socket = serverSocket.accept(); Socket socket = serverSocket.accept();
ClientHandler clientHandler= new ClientHandlerChar(socket); ClientHandler clientHandler= new ClientHandlerBytes(socket);
clientHandler.handle(); clientHandler.handle();
socket.close(); socket.close();
} }

View File

@@ -1,6 +1,6 @@
package fr.istic.pr.echomt; package fr.istic.pr.echomt;
public interface ClientHandler { public interface ClientHandlerMT {
/** La méthode handle traite le client **/ /** La méthode handle traite le client **/
public void handle(); public void handle();
} }

View File

@@ -0,0 +1,4 @@
package fr.istic.pr.echomt;
public class EchoServerMT {
}