ucsb-cs56-projects / cs56-networking-chat

-
1 stars 6 forks source link

Refactor ClientWindow.java so that it does no text processing. #50

Open jleeong opened 7 years ago

jleeong commented 7 years ago

Currently the ClientWindow class does text processing to format the instant message with relevant server information (i.e. service code, sender, receiver). This is a process that is best handled by the ClientController class rather than the ClientWindow class. This issue involves refactoring the methods in ClientWindow that formats the user's input, moving them to methods in ClientController class.

recommended points 100-150

jleeong commented 7 years ago

See methods sendIM(String, String) in Client.java, ClientController.java and how it is used in ClientWindow.java for an example.

seemantasaha commented 6 years ago

W18 OK. 150 points.