public class SyncStateValueControl extends AbstractControl
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTROL_OID
This control OID
|
decoder, value, valueLengthparent| Constructor and Description |
|---|
SyncStateValueControl() |
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the SyncStateValue length.
|
ByteBuffer |
encode(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
|
String |
toString()
Return a String representing a Control
|
computeLength, getDecoder, getOid, hasValue, isCritical, setCritical, setValueaddLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParentpublic static final String CONTROL_OID
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 AbstractControlpublic ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode in interface Asn1Objectencode in interface CodecControlencode in class AbstractControlbuffer - The encoded sinkEncoderException - If anything goes wrong.public byte[] getValue()
getValue in interface ControlgetValue in class AbstractControlpublic String toString()
AbstractControltoString in class AbstractControlObject.toString()Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.