Class SearchResultReferenceImpl

    • Constructor Detail

      • SearchResultReferenceImpl

        public SearchResultReferenceImpl()
        Creates a SearchResponseReference as a reply to an SearchRequest to indicate the end of a search operation.
      • SearchResultReferenceImpl

        public SearchResultReferenceImpl​(int id)
        Creates a SearchResponseReference as a reply to an SearchRequest to indicate the end of a search operation.
        Parameters:
        id - the session unique message id
    • Method Detail

      • setReferral

        public void setReferral​(Referral referral)
        Sets the sequence of LdapUrls as a Referral instance.
        Specified by:
        setReferral in interface SearchResultReference
        Parameters:
        referral - the sequence of LdapUrls
      • equals

        public boolean equals​(Object obj)
        Checks to see if an object is equal to this SearchResponseReference stub.
        Overrides:
        equals in class AbstractMessage
        Parameters:
        obj - the object to compare to this response stub
        Returns:
        true if the objects are equivalent false otherwise
      • toString

        public String toString()
        Returns the Search Result Reference string
        Overrides:
        toString in class Object
        Returns:
        The Search Result Reference string