public class SearchResultReferenceImpl extends AbstractResponse implements SearchResultReference
Constructor and Description |
---|
SearchResultReferenceImpl()
Creates a SearchResponseReference as a reply to an SearchRequest
to indicate the end of a search operation.
|
SearchResultReferenceImpl(int id)
Creates a SearchResponseReference as a reply to an SearchRequest
to indicate the end of a search operation.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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.
|
int |
hashCode() |
void |
setReferral(Referral referral)
Sets the sequence of LdapUrls as a Referral instance.
|
String |
toString()
Returns the Search Result Reference string
|
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
public SearchResultReferenceImpl()
public SearchResultReferenceImpl(int id)
id
- the session unique message idpublic Referral getReferral()
getReferral
in interface SearchResultReference
public void setReferral(Referral referral)
setReferral
in interface SearchResultReference
referral
- the sequence of LdapUrlspublic int hashCode()
hashCode
in class AbstractMessage
Object.hashCode()
public boolean equals(Object obj)
equals
in class AbstractMessage
obj
- the object to compare to this response stubCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.