@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(value="DE_MIGHT_IGNORE",justification="we are trying to close a failed connection, it doesn't matter if it generates an error") @Override public void recover(){
  if (!allowConnectionRecovery) {
    return;
  }
  opened=false;
  try {
    socketConn.close();
  }
 catch (  IOException e) {
  }
  reconnect();
}

@ edu . umd . cs . findbugs . annotations . SuppressFBWarnings ( value = "DE_MIGHT_IGNORE" , justification = "we are trying to close a failed connection, it doesn't matter if it generates an error" ) @ Override public void recover ( ) { if ( ! allowConnectionRecovery ) { return ; } opened = false ; try { socketConn . close ( ) ; } catch ( IOException e ) { } reconnect ( ) ; }
this is called when a connection is initially lost . it closes the client side socket connection , resets the open flag and attempts a reconnection .
