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

java.lang.Object
  extended by org.apache.directory.shared.ldap.message.internal.InternalAbstractMessage
      extended by org.apache.directory.shared.ldap.message.internal.InternalAbstractResponse
          extended by 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

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