mirror of
https://github.com/Akomry/sae302_applicom.git
synced 2025-12-06 08:43:54 +00:00
fix(logger): utilisation du logger de chatapplication sur chatserver
This commit is contained in:
parent
b8cffe3831
commit
d11df74578
2 changed files with 6 additions and 3 deletions
|
|
@ -16,13 +16,13 @@ import java.util.logging.Level;
|
||||||
import java.util.logging.LogManager;
|
import java.util.logging.LogManager;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
|
import static rtgre.chat.ChatApplication.LOGGER;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Programme serveur qui renvoie les chaines de caractères lues jusqu'à recevoir le message "fin"
|
* Programme serveur qui renvoie les chaines de caractères lues jusqu'à recevoir le message "fin"
|
||||||
*/
|
*/
|
||||||
public class ChatServer {
|
public class ChatServer {
|
||||||
|
|
||||||
private static final Logger LOGGER = Logger.getLogger(ChatServer.class.getCanonicalName());
|
|
||||||
|
|
||||||
private Vector<ChatClientHandler> clientList;
|
private Vector<ChatClientHandler> clientList;
|
||||||
private PostVector postVector;
|
private PostVector postVector;
|
||||||
private ContactMap contactMap;
|
private ContactMap contactMap;
|
||||||
|
|
|
||||||
|
|
@ -5,3 +5,6 @@ width=600
|
||||||
height=400
|
height=400
|
||||||
posx=
|
posx=
|
||||||
posy=
|
posy=
|
||||||
|
lasthost=
|
||||||
|
split1=
|
||||||
|
split2=
|
||||||
Loading…
Add table
Add a link
Reference in a new issue