when a tcp connection is lost , reconnect to the server with reconnect . concode_field_sep StringBuffer _myStringBuffer concode_elem_sep int MODE_STREAM concode_elem_sep Thread _myThread concode_elem_sep int MODE_TERMINATED concode_elem_sep byte[] _myBytes concode_elem_sep PrintWriter _myOutput concode_elem_sep char TERMINATOR concode_elem_sep int _myMode concode_elem_sep TcpPacketListener _myTcpPacketListener concode_elem_sep int MODE_NEWLINE concode_elem_sep AbstractTcpServer _myTcpServer concode_elem_sep NetAddress _myNetAddress concode_elem_sep BufferedReader _myInput concode_elem_sep int _myServerPort concode_elem_sep Socket _mySocket concode_elem_sep OutputStream _myOutputStream concode_elem_sep int MODE_READLINE concode_field_sep void init concode_elem_sep void startSocket concode_elem_sep void read concode_elem_sep TcpPacketListener listener concode_elem_sep void run concode_elem_sep void setTerminator concode_elem_sep String getString concode_elem_sep StringBuffer getStringBuffer concode_elem_sep void handleInput concode_elem_sep int mode concode_elem_sep NetAddress netAddress concode_elem_sep int serverport concode_elem_sep boolean equals concode_elem_sep boolean equals concode_elem_sep void handleStatus concode_elem_sep NetAddress netaddress concode_elem_sep void dispose concode_elem_sep Socket socket concode_elem_sep void send concode_elem_sep void send concode_elem_sep void send concode_elem_sep void readline
void function ( ) { try { Thread . sleep ( 1000 ) ; } catch ( final Exception loc0 ) { } startSocket ( ) ; }