Class SearchResultDoneImpl
java.lang.Object
org.apache.directory.api.ldap.model.message.AbstractMessage
org.apache.directory.api.ldap.model.message.AbstractResponse
org.apache.directory.api.ldap.model.message.AbstractResultResponse
org.apache.directory.api.ldap.model.message.SearchResultDoneImpl
- All Implemented Interfaces:
Message, Response, ResultResponse, SearchResultDone
- Direct Known Subclasses:
SearchNoDResponse
SearchResponseDone implementation
- Author:
- Apache Directory Project
-
Field Summary
Fields inherited from class AbstractResultResponse
ldapResultFields inherited from class AbstractMessage
controls -
Constructor Summary
ConstructorsConstructorDescriptionCreates a SearchResponseDone as a reply to an SearchRequest to indicate the end of a search operation.SearchResultDoneImpl(int id) Creates a SearchResponseDone as a reply to an SearchRequest to indicate the end of a search operation. -
Method Summary
Methods inherited from class AbstractResultResponse
getLdapResultMethods inherited from class AbstractMessage
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toStringMethods inherited from interface Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageIdMethods inherited from interface ResultResponse
getLdapResult
-
Constructor Details
-
SearchResultDoneImpl
public SearchResultDoneImpl()Creates a SearchResponseDone as a reply to an SearchRequest to indicate the end of a search operation. -
SearchResultDoneImpl
public SearchResultDoneImpl(int id) Creates a SearchResponseDone as a reply to an SearchRequest to indicate the end of a search operation.- Parameters:
id- the session unique message id
-
-
Method Details
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractResultResponse- Returns:
- the instance's hash code
- See Also:
-
equals
Checks for equality by using the underlying LdapResult objects of this SearchResponseDone stub.- Overrides:
equalsin classAbstractResultResponse- Parameters:
obj- the object to be tested for equality- Returns:
- true if obj is equivalent to this SearchResponseDone impl
-
toString
Get a String representation of a SearchResultDone- Overrides:
toStringin classAbstractResultResponse- Returns:
- A SearchResultDone String
-