org.apache.directory.shared.ldap.message
Class SearchResponseReferenceImpl

java.lang.Object
  extended byorg.apache.directory.shared.ldap.message.AbstractMessage
      extended byorg.apache.directory.shared.ldap.message.AbstractResponse
          extended byorg.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

Field Summary
 
Fields inherited from interface org.apache.directory.shared.ldap.message.SearchResponseReference
TYPE
 
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 org.apache.directory.shared.ldap.message.AbstractMessage
add, get, getControls, getMessageId, getType, put, remove
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.directory.shared.ldap.message.Message
add, get, getControls, getMessageId, getType, put, remove
 

Constructor Detail

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
Method Detail

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.