this.wasRead = false; try { this.lastread = this.reader.readMessage(); if (lastread instanceof LDAPResponse) { if (lastread.getType() == LDAPMessage.SEARCH_RESULT) { lastread = this.reader.readMessage(); if (lastread instanceof LDAPResponse) { this.lastread = null;