public class SyncRequestValueControl extends AbstractControl
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTROL_OID
This control OID
|
decoder, value, valueLengthparent| Constructor and Description |
|---|
SyncRequestValueControl() |
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the SyncRequestValue length.
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the SyncRequestValue control
|
byte[] |
getCookie() |
SynchronizationModeEnum |
getMode() |
byte[] |
getValue()
Get the control value
|
boolean |
isReloadHint() |
void |
setCookie(byte[] cookie) |
void |
setMode(SynchronizationModeEnum mode) |
void |
setReloadHint(boolean reloadHint) |
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 SynchronizationModeEnum getMode()
public void setMode(SynchronizationModeEnum mode)
syncMode - the syncMode to setpublic byte[] getCookie()
public void setCookie(byte[] cookie)
cookie - the cookie to setpublic boolean isReloadHint()
public void setReloadHint(boolean reloadHint)
reloadHint - the reloadHint to setpublic 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.