public class SyncRequestValueControl extends AbstractControl
Modifier and Type | Field and Description |
---|---|
static String |
CONTROL_OID
This control OID
|
decoder, value, valueLength
parent
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, setValue
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent
public 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 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.public byte[] getValue()
getValue
in interface Control
getValue
in class AbstractControl
public String toString()
AbstractControl
toString
in class AbstractControl
Object.toString()
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.