Skip to content

Commit

Permalink
dernier
Browse files Browse the repository at this point in the history
  • Loading branch information
ElyesKhama committed Dec 14, 2017
1 parent 093f5fd commit 97aedc9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/SendMessage.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import java.io.IOException;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
Expand Down
2 changes: 1 addition & 1 deletion src/ThreadReceive.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import java.io.IOException;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.InetAddress;
import java.util.HashMap;
Expand Down
2 changes: 1 addition & 1 deletion src/ThreadSend.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import java.io.IOException;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.InetAddress;

Expand Down
8 changes: 2 additions & 6 deletions src/User.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import java.io.IOException;
import java.io.IOException;
import java.net.*;
import java.util.ArrayList;
import java.util.Date;
Expand Down Expand Up @@ -31,7 +31,7 @@ public User(String pseudo){

System.out.println("J'ai crée un utilisateur ; son pseudo est : " + pseudo );
Thread threadSend = new ThreadSend("thread send", this);
threadSend.start();
// threadSend.start();

Thread threadReceive = new ThreadReceive("thread receive", this);
threadReceive.start();
Expand Down Expand Up @@ -65,8 +65,4 @@ public HashMap getListUser(){
public void setListUser(String pseudo, String ip){
this.listUser.put(pseudo, ip);
}




}

0 comments on commit 97aedc9

Please sign in to comment.