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
-
-
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 boolean
equals(Object obj)
Checks for equality by using the underlying LdapResult objects of this SearchResponseDone stub.int
hashCode()
String
toString()
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 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
-
-
-
-
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:
hashCode
in 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:
equals
in 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:
toString
in classAbstractResultResponse
- Returns:
- A SearchResultDone String
-
-