public class SearchOptionsControl extends AbstractControl implements RequestControl
searchOptionsValue ::= SEQUENCE { flag INTEGER }
See http://msdn.microsoft.com/en-us/library/cc223324.aspx
Modifier and Type | Class and Description |
---|---|
static class |
SearchOptionsControl.Flag
Types of flags.
|
Modifier and Type | Field and Description |
---|---|
private SearchOptionsControl.Flag |
flag
flag.
|
private static int |
HASH_CODE_SEED
hash code seed.
|
static String |
OID
OID of this control.
|
logger
Constructor and Description |
---|
SearchOptionsControl()
Default constructor.
|
SearchOptionsControl(SearchOptionsControl.Flag f)
Creates a new search options control.
|
SearchOptionsControl(SearchOptionsControl.Flag f,
boolean critical)
Creates a new search options control.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
encode()
Provides the BER encoding of this control.
|
boolean |
equals(Object o) |
SearchOptionsControl.Flag |
getFlag()
Returns the flag.
|
int |
hashCode()
Returns the hash code for this object.
|
void |
setFlag(SearchOptionsControl.Flag f)
Sets the flag.
|
String |
toString() |
getCriticality, getOID
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCriticality, getOID
public static final String OID
private static final int HASH_CODE_SEED
private SearchOptionsControl.Flag flag
public SearchOptionsControl()
public SearchOptionsControl(SearchOptionsControl.Flag f)
f
- flagpublic SearchOptionsControl(SearchOptionsControl.Flag f, boolean critical)
f
- flagcritical
- whether this control is criticalpublic SearchOptionsControl.Flag getFlag()
public void setFlag(SearchOptionsControl.Flag f)
f
- flagpublic boolean equals(Object o)
equals
in class AbstractControl
public int hashCode()
AbstractControl
hashCode
in class AbstractControl
public byte[] encode()
RequestControl
encode
in interface RequestControl
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.