boolean function ( ) { if ( state == CLOSED ) return false ; notifyAll ( ) ; if ( reader != null ) reader . interrupt ( ) ; if ( writer != null ) writer . interrupt ( ) ; state = CLOSED ; return true ; }
switches to closed state and returns ` true ' if successful . concode_field_sep int heartbeat_period concode_elem_sep SocketController controller concode_elem_sep int CONNECTED concode_elem_sep String address concode_elem_sep ConnectionAdapter adapter concode_elem_sep boolean data_available concode_elem_sep Thread reader concode_elem_sep int CLOSED concode_elem_sep long prevConnectStatusTime concode_elem_sep int CONNECTING concode_elem_sep Connector connector concode_elem_sep int state concode_elem_sep long LOG_DELAY concode_elem_sep String[] STATE_NAMES concode_elem_sep ControlPack controlPack concode_elem_sep int NEW concode_elem_sep Thread writer concode_elem_sep Socket socket concode_elem_sep long prevConnectStatusNumber concode_field_sep boolean makeConnecting concode_elem_sep void runRead concode_elem_sep void runWrite concode_elem_sep void start concode_elem_sep void run concode_elem_sep boolean makeConnected concode_elem_sep void cleanup concode_elem_sep void adapterClosed concode_elem_sep boolean runConnect concode_elem_sep ControlPack getControlPack concode_elem_sep void dataAvailable concode_elem_sep String toString concode_elem_sep void runDisconnect concode_elem_sep void close