question: void processConnectionClosure ( ) { if ( unsolicited . size ( ) > 0 ) { String msg ; if ( conn != null ) { msg = conn . host + ":" + conn . port + " connection closed" ; } else { msg = "Connection closed" ; } notifyUnsolicited ( new CommunicationException ( msg ) ) ; } if ( pooled ) { pcb . removePooledConnection ( this ) ; } }
target:  Called by Connection.cleanup(). LdapClient should notify any unsolicited listeners and removing itself from any pool. This is almost like forceClose(), except it doesn't call Connection.cleanup() (because this is called from cleanup()).