|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.jndi.ldap.BasicControl
com.sun.jndi.ldap.ctl.DirSyncResponseControl
public final class DirSyncResponseControl
This class implements the LDAPv3 Response Control for directory synchronization as defined in draft-armijo-ldap-dirsync-01.txt. The control's value has the following ASN.1 definition:
realReplControlValue ::= SEQUENCE {
flag INTEGER
maxReturnlength INTEGER
cookie OCTET STRING
}
DirSyncControl,
Serialized Form| Field Summary | |
|---|---|
private byte[] |
cookie
A server-generated cookie. |
private int |
flag
If flag is set to a non-zero value, it implies that there is more data to retrieve. |
private int |
maxReturnLength
The maximum length (in bytes) returned in a control response. |
static java.lang.String |
OID
The dir-sync response control's assigned object identifier is 1.2.840.113556.1.4.841. |
private static long |
serialVersionUID
|
| Fields inherited from class com.sun.jndi.ldap.BasicControl |
|---|
criticality, id, value |
| Fields inherited from interface javax.naming.ldap.Control |
|---|
CRITICAL, NONCRITICAL |
| Constructor Summary | |
|---|---|
DirSyncResponseControl(java.lang.String id,
boolean criticality,
byte[] value)
Constructs a paged-results response control. |
|
| Method Summary | |
|---|---|
byte[] |
getCookie()
|
int |
getFlag()
Retrieves the more-data flag. |
int |
getMaxReturnLength()
Retrieves the maximum length (in bytes) returned in a control response. |
boolean |
hasMoreData()
Determines if more data is available or not. |
| Methods inherited from class com.sun.jndi.ldap.BasicControl |
|---|
getEncodedValue, getID, isCritical |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OID
private int flag
private int maxReturnLength
private byte[] cookie
private static final long serialVersionUID
| Constructor Detail |
|---|
public DirSyncResponseControl(java.lang.String id,
boolean criticality,
byte[] value)
throws java.io.IOException
id - The control's object identifier string.criticality - The control's criticality.value - The control's ASN.1 BER encoded value.
java.io.IOException - if an error is encountered
while decoding the control's value.| Method Detail |
|---|
public int getFlag()
public boolean hasMoreData()
public int getMaxReturnLength()
public byte[] getCookie()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||