Skip to content
Snippets Groups Projects
Commit 0d18d162 authored by Ho Dac Hai's avatar Ho Dac Hai
Browse files

Replace Client.java

parent f7eccf94
Branches
Tags
2 merge requests!25Master,!24Master
...@@ -20,15 +20,13 @@ public class Client ...@@ -20,15 +20,13 @@ public class Client
private Registry registryServer; private Registry registryServer;
private IChatController chatController; private IChatController chatController;
private IClientController clientController; private IClientController clientController;
private IDrawingController drawingController; private IDrawingController drawingController;
private ClientUpdate clientUpdate; private ClientUpdate clientUpdate;
private ChatUpdate chatUpdate; private ChatUpdate chatUpdate;
private DrawingUpdate drawingUpdate; private DrawingUpdate drawingUpdate;
private StartScreen startScreen;
private StartScreen startScreen;
private ChatScreen chatScreen; private ChatScreen chatScreen;
private PaintGUI paintGUI; private PaintGUI paintGUI;
...@@ -41,12 +39,6 @@ public class Client ...@@ -41,12 +39,6 @@ public class Client
public ChatScreen getChatScreen() { return chatScreen; } public ChatScreen getChatScreen() { return chatScreen; }
public void setConnectedUsers(String[] users)
{
this.connectedUsers = users;
}
public IChatController getChatController() public IChatController getChatController()
{ {
return chatController; return chatController;
...@@ -103,22 +95,6 @@ public class Client ...@@ -103,22 +95,6 @@ public class Client
} }
} }
// public void doSomething()
// {
//// new ChatScreen();
//
// try
// {
// new ChatScreen(this);
// System.out.println("Sleeping...");
// TimeUnit.MINUTES.sleep(5);
// }
// catch(Exception e)
// {
// e.printStackTrace();
// }
// }
public boolean connect() public boolean connect()
{ {
try try
...@@ -143,14 +119,4 @@ public class Client ...@@ -143,14 +119,4 @@ public class Client
return false; return false;
} }
public String getReceivedMessage()
{
return receivedMessage;
}
public void setReceivedMessage(String receivedMessage)
{
this.receivedMessage = receivedMessage;
}
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment