public class SyncDoneValueControl extends AbstractControl
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTROL_OID
This control OID
|
decoder, value, valueLengthparent| 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, setValueaddLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParentpublic static final String CONTROL_OID
public SyncDoneValueControl()
public 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 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 String toString()
AbstractControltoString in class AbstractControlObject.toString()Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.