void function ( boolean arg0 ) { if ( arg0 ) { if ( hmChatWindows != null ) { for ( ChatWindowFrame loc0 : hmChatWindows . values ( ) ) { loc0 . dispose ( ) ; } hmChatWindows . clear ( ) ; hmChatWindows = null ; } } this . close ( ) ; }
this method overrides the close method and called when user logout . this method closes the open chat windows for the given client . this method also calls the close method for closing the stream associated with the client . concode_field_sep String strClientName concode_elem_sep ObjectInputStream dataReader concode_elem_sep Socket socCommand concode_elem_sep Socket socData concode_elem_sep HashMap<String,ChatWindowFrame> hmChatWindows concode_elem_sep ObjectInputStream cmdReader concode_elem_sep ObjectOutputStream dataWriter concode_elem_sep ObjectOutputStream cmdWriter concode_elem_sep InetAddress intAddrCli concode_field_sep void sendData concode_elem_sep ObjectOutputStream getDataWriter concode_elem_sep String getStrClientName concode_elem_sep void setIntAddrCli concode_elem_sep Socket getSocCommand concode_elem_sep void setSocCommand concode_elem_sep void setSocData concode_elem_sep void setStrClientName concode_elem_sep InetAddress getIntAddrCli concode_elem_sep Socket getSocData concode_elem_sep ObjectInputStream getDataReader concode_elem_sep Object receiveCmd concode_elem_sep void sendCmd concode_elem_sep Object receiveData concode_elem_sep ObjectOutputStream getCmdWriter concode_elem_sep void sendChatMsg concode_elem_sep ObjectInputStream getCmdReader concode_elem_sep void removeFromHmChatWindows concode_elem_sep void sendExitPacket concode_elem_sep void addToHmChatWindows concode_elem_sep HashMap<String,ChatWindowFrame> getHmChatWindows