public class SearchEntry extends LdapEntry implements ResponseMessage
| Modifier and Type | Field and Description | 
|---|---|
private static int | 
HASH_CODE_SEED
hash code seed. 
 | 
private int | 
messageId
message ID. 
 | 
private ResponseControl[] | 
responseControls
response controls. 
 | 
private static long | 
serialVersionUID
serial version uid. 
 | 
| Constructor and Description | 
|---|
SearchEntry(int id,
           ResponseControl[] c)
Creates a new search entry. 
 | 
SearchEntry(int id,
           ResponseControl[] c,
           SortBehavior sb)
Creates a new search entry. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
ResponseControl | 
getControl(String oid)
Returns the first response control with the supplied OID for this response message. 
 | 
ResponseControl[] | 
getControls()
Returns the controls for this message. 
 | 
int | 
getMessageId()
Returns the message ID for this response message. 
 | 
int | 
hashCode()  | 
String | 
toString()  | 
addAttribute, addAttributes, clear, computeModifications, getAttribute, getAttribute, getAttributeNames, getAttributes, getDn, removeAttribute, removeAttribute, removeAttributes, renameAttribute, setDn, sizegetSortBehaviorprivate static final int HASH_CODE_SEED
private static final long serialVersionUID
private final ResponseControl[] responseControls
private final int messageId
public SearchEntry(int id,
                   ResponseControl[] c)
id - message idc - response controlspublic SearchEntry(int id,
                   ResponseControl[] c,
                   SortBehavior sb)
id - message idc - response controlssb - sort behaviorpublic ResponseControl[] getControls()
MessagegetControls in interface Message<ResponseControl>public ResponseControl getControl(String oid)
ResponseMessagegetControl in interface ResponseMessageoid - of the response control to returnpublic int getMessageId()
ResponseMessagegetMessageId in interface ResponseMessageCopyright © 2003-2019 Virginia Tech. All Rights Reserved.