|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.controls.AbstractControl
org.apache.directory.shared.ldap.codec.controls.replication.syncDoneValue.SyncDoneValueControl
public class SyncDoneValueControl
A syncDoneValue object as described in rfc4533.
| Field Summary | |
|---|---|
static java.lang.String |
CONTROL_OID
This control OID |
| Fields inherited from class org.apache.directory.shared.ldap.codec.controls.AbstractControl |
|---|
decoder, value, valueLength |
| Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
parent |
| Constructor Summary | |
|---|---|
SyncDoneValueControl()
Creates a new instance of SyncDoneValueControlCodec. |
|
| Method Summary | |
|---|---|
int |
computeLength()
Compute the syncDoneValue length. |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the SyncDoneValue control |
byte[] |
getCookie()
|
byte[] |
getValue()
Get the control value |
boolean |
isRefreshDeletes()
|
void |
setCookie(byte[] cookie)
|
void |
setRefreshDeletes(boolean refreshDeletes)
|
java.lang.String |
toString()
Return a String representing a Control |
| Methods inherited from class org.apache.directory.shared.ldap.codec.controls.AbstractControl |
|---|
computeLength, getDecoder, getOid, hasValue, isCritical, setCritical, setValue |
| Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CONTROL_OID
| Constructor Detail |
|---|
public SyncDoneValueControl()
| Method Detail |
|---|
public int computeLength()
computeLength in interface Asn1ObjectcomputeLength in interface CodecControlcomputeLength in class AbstractControl
public java.nio.ByteBuffer encode(java.nio.ByteBuffer buffer)
throws EncoderException
encode in interface Asn1Objectencode in interface CodecControlencode in class AbstractControlbuffer - The encoded sink
EncoderException - If anything goes wrong while encoding.public byte[] getValue()
getValue in interface ControlgetValue in class AbstractControlpublic byte[] getCookie()
public void setCookie(byte[] cookie)
cookie - cookie to be setpublic boolean isRefreshDeletes()
public void setRefreshDeletes(boolean refreshDeletes)
refreshDeletes - set the refreshDeletes flagpublic java.lang.String toString()
AbstractControl
toString in class AbstractControlObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||