|
||||||||||
| 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.syncStateValue.SyncStateValueControl
public class SyncStateValueControl
A syncStateValue object, as defined in RFC 4533
| 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 | |
|---|---|
SyncStateValueControl()
|
|
| Method Summary | |
|---|---|
int |
computeLength()
Compute the SyncStateValue length. |
java.nio.ByteBuffer |
encode(java.nio.ByteBuffer buffer)
Encode the SyncStateValue control |
byte[] |
getCookie()
|
byte[] |
getEntryUUID()
|
SyncStateTypeEnum |
getSyncStateType()
|
byte[] |
getValue()
Get the control value |
void |
setCookie(byte[] cookie)
|
void |
setEntryUUID(byte[] entryUUID)
set the entryUUID |
void |
setSyncStateType(SyncStateTypeEnum syncStateType)
set the syncState's type |
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 SyncStateValueControl()
| Method Detail |
|---|
public byte[] getCookie()
public void setCookie(byte[] cookie)
cookie - the cookie to setpublic SyncStateTypeEnum getSyncStateType()
public void setSyncStateType(SyncStateTypeEnum syncStateType)
syncStateType - the syncState's typepublic byte[] getEntryUUID()
public void setEntryUUID(byte[] entryUUID)
entryUUID - the entryUUIDpublic 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.public byte[] getValue()
getValue in interface ControlgetValue in class AbstractControlpublic 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 | |||||||||