org.apache.directory.shared.ldap.message
Class SearchResponseReferenceImpl
java.lang.Object
org.apache.directory.shared.ldap.message.internal.InternalAbstractMessage
org.apache.directory.shared.ldap.message.internal.InternalAbstractResponse
org.apache.directory.shared.ldap.message.SearchResponseReferenceImpl
- All Implemented Interfaces:
- InternalMessage, InternalResponse, InternalSearchResponseReference
public class SearchResponseReferenceImpl
- extends InternalAbstractResponse
- implements InternalSearchResponseReference
SearchResponseReference implementation
- Version:
- $Revision: 905344 $
- 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. |
InternalReferral |
getReferral()
Gets the sequence of LdapUrls as a Referral instance. |
void |
setReferral(InternalReferral referral)
Sets the sequence of LdapUrls as a Referral instance. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, 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 InternalReferral getReferral()
- Gets the sequence of LdapUrls as a Referral instance.
- Specified by:
getReferral
in interface InternalSearchResponseReference
- Returns:
- the sequence of LdapUrls
setReferral
public void setReferral(InternalReferral referral)
- Sets the sequence of LdapUrls as a Referral instance.
- Specified by:
setReferral
in interface InternalSearchResponseReference
- 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 InternalAbstractMessage
- Parameters:
obj
- the object to compare to this response stub
- Returns:
- true if the objects are equivalent false otherwise
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.