Class JDAPSearchResult

java.lang.Object
netscape.ldap.client.opers.JDAPResult
netscape.ldap.client.opers.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 Details

    • JDAPSearchResult

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

    • getType

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

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