void function ( ChatClient arg0 ) { arg0 . startGUI ( ) ; requireLogin ( ) ; System . out . println ( "srini_string" + username ) ; chatAlive = true ; controller . setEncryptor ( new Encryptor ( ) ) ; ClientGUI . getInstance ( ) . changeToChat ( ) ; readStreamIn ( ) ; }
starts gui , handles login process and opens new input stream listener for chatclient concode_field_sep boolean chatAlive concode_elem_sep Controller controller concode_elem_sep DataOutputStream streamOut concode_elem_sep String[] serverData concode_elem_sep boolean loggedIn concode_elem_sep ConcurrentHashMap<String,ClientUser> onlineClients concode_elem_sep ChatClient instance concode_elem_sep DataInputStream streamIn concode_elem_sep String loginMsg concode_elem_sep Socket socket concode_elem_sep boolean connectedToServer concode_elem_sep String username concode_field_sep void requireLogin concode_elem_sep String sendLoginDataToServerAndWaitForResponse concode_elem_sep void readStreamIn concode_elem_sep void setUsername concode_elem_sep void startGUI concode_elem_sep ClientUser getUser concode_elem_sep void setServerData concode_elem_sep boolean isChatAlive concode_elem_sep void main concode_elem_sep void popupWarningMsg concode_elem_sep Controller getController concode_elem_sep void connectToServer concode_elem_sep String getUsername concode_elem_sep void setChatAlive concode_elem_sep boolean isLoggedIn concode_elem_sep void setLoginMsg concode_elem_sep ChatClient getInstance concode_elem_sep void sendSystemData concode_elem_sep void sendMsg concode_elem_sep void addMsgToConversation concode_elem_sep void logOut concode_elem_sep void logOutAndExit concode_elem_sep ConcurrentHashMap<String,ClientUser> getOnlineClients