Class JDAPSearchResult

  • All Implemented Interfaces:
    JDAPProtocolOp

    public class JDAPSearchResult
    extends JDAPResult
    implements JDAPProtocolOp
    This class implements the search result. This object is sent from the ldap server to the interface. Note that search response is separated into search response and search result. The search response contains the result from the server, while the research result indicates the end of the search response sequence.
     resultCode [APPLICATION 5] LDAPResult
     
    Version:
    1.0
    • Constructor Detail

      • JDAPSearchResult

        public JDAPSearchResult​(BERElement element)
                         throws java.io.IOException
        Constructs search result.
        Parameters:
        element - ber element of search result
        Throws:
        java.io.IOException
    • Method Detail

      • getType

        public int getType()
        Retrieves the protocol operation type.
        Specified by:
        getType in interface JDAPProtocolOp
        Returns:
        protocol type
      • toString

        public java.lang.String toString()
        Retrieve the string representation.
        Specified by:
        toString in interface JDAPProtocolOp
        Overrides:
        toString in class JDAPResult
        Returns:
        string representation