/** * Creates a new search result object with the provided message ID and with * the protocol op and controls read from the given ASN.1 stream reader. It * will be necessary for the caller to ensure that the entry and reference * details are updated. * * @param messageID The LDAP message ID for the LDAP message that is * associated with this search result. * @param messageSequence The ASN.1 stream reader sequence used in the * course of reading the LDAP message elements. * @param reader The ASN.1 stream reader from which to read the * protocol op and controls. * * @return The decoded search result object. * * @throws LDAPException If a problem occurs while reading or decoding data * from the ASN.1 stream reader. */ @InternalUseOnly() public static SearchResult readSearchResultFrom(final int messageID, final ASN1StreamReaderSequence messageSequence, final ASN1StreamReader reader) throws LDAPException { return SearchResult.readSearchResultFrom(messageID, messageSequence, reader); }
/** * Creates a new search result object with the provided message ID and with * the protocol op and controls read from the given ASN.1 stream reader. It * will be necessary for the caller to ensure that the entry and reference * details are updated. * * @param messageID The LDAP message ID for the LDAP message that is * associated with this search result. * @param messageSequence The ASN.1 stream reader sequence used in the * course of reading the LDAP message elements. * @param reader The ASN.1 stream reader from which to read the * protocol op and controls. * * @return The decoded search result object. * * @throws LDAPException If a problem occurs while reading or decoding data * from the ASN.1 stream reader. */ @InternalUseOnly() public static SearchResult readSearchResultFrom(final int messageID, final ASN1StreamReaderSequence messageSequence, final ASN1StreamReader reader) throws LDAPException { return SearchResult.readSearchResultFrom(messageID, messageSequence, reader); }