public class SyncDoneValueControl extends AbstractControl
Modifier and Type | Field and Description |
---|---|
static String |
CONTROL_OID
This control OID
|
decoder, value, valueLength
parent
Constructor and Description |
---|
SyncDoneValueControl()
Creates a new instance of SyncDoneValueControlCodec.
|
Modifier and Type | Method and Description |
---|---|
int |
computeLength()
Compute the syncDoneValue length.
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the SyncDoneValue control
|
byte[] |
getCookie() |
byte[] |
getValue()
Get the control value
|
boolean |
isRefreshDeletes() |
void |
setCookie(byte[] cookie) |
void |
setRefreshDeletes(boolean refreshDeletes) |
String |
toString()
Return a String representing a Control
|
computeLength, getDecoder, getOid, hasValue, isCritical, setCritical, setValue
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent
public static final String CONTROL_OID
public SyncDoneValueControl()
public int computeLength()
computeLength
in interface Asn1Object
computeLength
in interface CodecControl
computeLength
in class AbstractControl
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode
in interface Asn1Object
encode
in interface CodecControl
encode
in class AbstractControl
buffer
- The encoded sinkEncoderException
- If anything goes wrong while encoding.public byte[] getValue()
getValue
in interface Control
getValue
in class AbstractControl
public byte[] getCookie()
public void setCookie(byte[] cookie)
cookie
- cookie to be setpublic boolean isRefreshDeletes()
public void setRefreshDeletes(boolean refreshDeletes)
refreshDeletes
- set the refreshDeletes flagpublic String toString()
AbstractControl
toString
in class AbstractControl
Object.toString()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.