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
public class SearchResultDoneImpl extends AbstractResultResponse implements SearchResultDone
SearchResponseDone implementation- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static longserialVersionUID-
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractResultResponse
ldapResult
-
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
controls
-
-
Constructor Summary
Constructors Constructor Description SearchResultDoneImpl()Creates 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Checks for equality by using the underlying LdapResult objects of this SearchResponseDone stub.inthashCode()StringtoString()Get a String representation of a SearchResultDone-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractResultResponse
getLdapResult
-
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponse
getLdapResult
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractResultResponse- Returns:
- the instance's hash code
- See Also:
Object.hashCode()
-
equals
public boolean equals(Object obj)
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
public String toString()
Get a String representation of a SearchResultDone- Overrides:
toStringin classAbstractResultResponse- Returns:
- A SearchResultDone String
-
-