public interface AdDirSync
extends org.apache.directory.api.ldap.model.message.Control
Repl Control ::= SEQUENCE {
controlType 1.2.840.113556.1.4.841
controlValue replControlValue
criticality TRUE
}
the control value can be one of the two structures :
Client side :
realReplControlValue ::= SEQUENCE {
flags integer
maxBytes integer
cookie OCTET STRING
}
or
server side :
realReplControlValue ::= SEQUENCE {
flag integer
maxBytes integer
cookie OCTET STRING
}
| Modifier and Type | Method and Description |
|---|---|
void |
addFlag(AdDirSyncFlag flag) |
byte[] |
getCookie() |
Set<AdDirSyncFlag> |
getFlags() |
int |
getMaxReturnLength() |
void |
removeFlag(AdDirSyncFlag flag) |
void |
setCookie(byte[] cookie) |
void |
setFlags(Set<AdDirSyncFlag> flags) |
void |
setMaxReturnLength(int maxReturnLength) |
static final String OID
int getMaxReturnLength()
void setMaxReturnLength(int maxReturnLength)
maxReturnLength - The maximum length of attributes to be returnedbyte[] getCookie()
void setCookie(byte[] cookie)
cookie - The cookie to send to the server. It's the value found in the response control. Should be null
for the first control.Set<AdDirSyncFlag> getFlags()
void setFlags(Set<AdDirSyncFlag> flags)
flags - The flags to be set. See EnumSet for how to generate EnumSets.void addFlag(AdDirSyncFlag flag)
flag - The flag to be added to the current collection of flags.void removeFlag(AdDirSyncFlag flag)
flag - The flag to be removed from the current collection of flags.Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.