vidéo de démonstration
This commit is contained in:
parent
00b3ad3038
commit
6917a454e7
2 changed files with 8 additions and 5 deletions
|
@ -18,7 +18,7 @@ import java.util.Calendar;
|
|||
import java.util.Date;
|
||||
|
||||
import javax.swing.JOptionPane;
|
||||
import javax.websocket.DeploymentException;
|
||||
//import javax.websocket.DeploymentException;
|
||||
|
||||
import model.Chat;
|
||||
import model.LocalUser;
|
||||
|
@ -26,7 +26,7 @@ import model.Message;
|
|||
import model.Msg_Text;
|
||||
import model.RemoteUser;
|
||||
import view.Interface;
|
||||
import websocket.Appel;
|
||||
//import websocket.Appel;
|
||||
|
||||
public class Controller {
|
||||
|
||||
|
@ -500,19 +500,22 @@ public class Controller {
|
|||
ArrayList<Controller> lstCtr = new ArrayList<Controller>();
|
||||
|
||||
// REMOTE USERS
|
||||
/*
|
||||
Controller ctr1 = new Controller(31011,portUDPlistening_remoteUsr1,31021,"Theau",histoire);
|
||||
lstCtr.add(ctr1);
|
||||
|
||||
Controller ctr2 = new Controller(31012,portUDPlistening_remoteUsr2,31022,"Leonie",histoire);
|
||||
lstCtr.add(ctr2);
|
||||
|
||||
Controller ctr3 = new Controller(31013,portUDPlistening_remoteUsr3,31023,"Alexandre",histoire);
|
||||
lstCtr.add(ctr3);
|
||||
|
||||
*/
|
||||
// LOCAL USER
|
||||
Controller ctr = new Controller(31014,portUDPlistening_local,31024,histoire);
|
||||
lstCtr.add(ctr);
|
||||
|
||||
Appel app=new Appel();
|
||||
app.test();
|
||||
//Appel app=new Appel();
|
||||
//app.test();
|
||||
|
||||
/** Loop **/
|
||||
Boolean running = isRunning(lstCtr);
|
||||
|
|
BIN
démonstration_projet_clavardage.mkv
Normal file
BIN
démonstration_projet_clavardage.mkv
Normal file
Binary file not shown.
Loading…
Reference in a new issue