/** * Creates a new compare result object with the provided message ID and with * the protocol op and controls read from the given ASN.1 stream reader. * * @param messageID The LDAP message ID for the LDAP message that is * associated with this compare 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 compare result object. * * @throws LDAPException If a problem occurs while reading or decoding data * from the ASN.1 stream reader. */ @InternalUseOnly() public static CompareResult readCompareResultFrom(final int messageID, final ASN1StreamReaderSequence messageSequence, final ASN1StreamReader reader) throws LDAPException { return CompareResult.readCompareResultFrom(messageID, messageSequence, reader); }
/** * Creates a new compare result object with the provided message ID and with * the protocol op and controls read from the given ASN.1 stream reader. * * @param messageID The LDAP message ID for the LDAP message that is * associated with this compare 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 compare result object. * * @throws LDAPException If a problem occurs while reading or decoding data * from the ASN.1 stream reader. */ @InternalUseOnly() public static CompareResult readCompareResultFrom(final int messageID, final ASN1StreamReaderSequence messageSequence, final ASN1StreamReader reader) throws LDAPException { return CompareResult.readCompareResultFrom(messageID, messageSequence, reader); }