org.apache.directory.api.ldap.model.message
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 |
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 |
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.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 |
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
hashCode
public int hashCode()
-
- Overrides:
hashCode in class AbstractResultResponse
- 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 class AbstractResultResponse
- 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 class AbstractResultResponse
- Returns:
- A SearchResultDone String
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.