Ajouter readme test image pour CR
ok
This commit is contained in:
11
README.md
11
README.md
@@ -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
|
||||
|
||||
|
||||
BIN
fichier_pour_CR/p1_ex2_bytes.pcapng
Normal file
BIN
fichier_pour_CR/p1_ex2_bytes.pcapng
Normal file
Binary file not shown.
BIN
fichier_pour_CR/p1_ex2_bytes.png
Normal file
BIN
fichier_pour_CR/p1_ex2_bytes.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
@@ -20,7 +20,7 @@ class echoServer {
|
||||
3. appeler la méthode handleBytes() sur le handler
|
||||
*/
|
||||
Socket socket = serverSocket.accept();
|
||||
ClientHandler clientHandler= new ClientHandlerChar(socket);
|
||||
ClientHandler clientHandler= new ClientHandlerBytes(socket);
|
||||
clientHandler.handle();
|
||||
socket.close();
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package fr.istic.pr.echomt;
|
||||
|
||||
public interface ClientHandler {
|
||||
public interface ClientHandlerMT {
|
||||
/** La méthode handle traite le client **/
|
||||
public void handle();
|
||||
}
|
||||
4
src/main/java/fr/istic/pr/echomt/EchoServerMT.java
Normal file
4
src/main/java/fr/istic/pr/echomt/EchoServerMT.java
Normal file
@@ -0,0 +1,4 @@
|
||||
package fr.istic.pr.echomt;
|
||||
|
||||
public class EchoServerMT {
|
||||
}
|
||||
Reference in New Issue
Block a user