void close ( ) { try { performTeardownExchange ( ) ; } catch ( IOException e ) { logger . warn ( "Problem reporting our intention to close the dbserver connection" , e ) ; } try { channel . close ( ) ; } catch ( IOException e ) { logger . warn ( "Problem closing dbserver client output channel" , e ) ; } try { os . close ( ) ; } catch ( IOException e ) { logger . warn ( "Problem closing dbserver client output stream" , e ) ; } try { is . close ( ) ; } catch ( IOException e ) { logger . warn ( "Problem closing dbserver client input stream" , e ) ; } try { socket . close ( ) ; } catch ( IOException e ) { logger . warn ( "Problem closing dbserver client socket" , e ) ; } }
Closes the connection to the dbserver . This instance can no longer be used after this action .