org.apache.directory.shared.ldap.message
Class SearchResponseReferenceImpl
java.lang.Object
org.apache.directory.shared.ldap.message.AbstractMessage
org.apache.directory.shared.ldap.message.AbstractResponse
org.apache.directory.shared.ldap.message.SearchResponseReferenceImpl
- All Implemented Interfaces:
- Message, Response, SearchResponseReference
- public class SearchResponseReferenceImpl
- extends AbstractResponse
- implements SearchResponseReference
SearchResponseReference implementation
- Version:
- $Revision: 379008 $
- Author:
- Apache Directory Project
Constructor Summary |
SearchResponseReferenceImpl(int id)
Creates a Lockable SearchResponseReference as a reply to an SearchRequest
to indicate the end of a search operation. |
Method Summary |
boolean |
equals(java.lang.Object obj)
Checks to see if an object is equal to this SearchResponseReference stub. |
Referral |
getReferral()
Gets the sequence of LdapUrls as a Referral instance. |
void |
setReferral(Referral referral)
Sets the sequence of LdapUrls as a Referral instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchResponseReferenceImpl
public SearchResponseReferenceImpl(int id)
- Creates a Lockable SearchResponseReference as a reply to an SearchRequest
to indicate the end of a search operation.
- Parameters:
id
- the session unique message id
getReferral
public Referral getReferral()
- Gets the sequence of LdapUrls as a Referral instance.
- Specified by:
getReferral
in interface SearchResponseReference
- Returns:
- the sequence of LdapUrls
setReferral
public void setReferral(Referral referral)
- Sets the sequence of LdapUrls as a Referral instance.
- Specified by:
setReferral
in interface SearchResponseReference
- Parameters:
referral
- the sequence of LdapUrls
equals
public boolean equals(java.lang.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
Copyright © 2003-2006 . All Rights Reserved.