public class SyncRequestValueFactory extends AbstractControlFactory<SyncRequestValue>
ControlFactory
which creates SyncRequestValue
controls.Constructor and Description |
---|
SyncRequestValueFactory(LdapApiService codec)
Creates a new instance of SyncRequestValueFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
decodeValue(Control control,
byte[] controlBytes)
Decode a Control's value.
|
void |
encodeValue(Asn1Buffer buffer,
Control control)
Encode the value part of the control.
|
SyncRequestValue |
newControl()
Creates and returns a version of the Control.
|
decodeValue, getOid
public SyncRequestValueFactory(LdapApiService codec)
codec
- The codec for this factory.public SyncRequestValue newControl()
CodecControl
decorated version of the Control.public void encodeValue(Asn1Buffer buffer, Control control)
AbstractControlFactory
encodeValue
in interface ControlFactory<SyncRequestValue>
encodeValue
in class AbstractControlFactory<SyncRequestValue>
buffer
- The buffer into which to put the encoded valuecontrol
- The control to encodepublic void decodeValue(Control control, byte[] controlBytes) throws DecoderException
decodeValue
in interface ControlFactory<SyncRequestValue>
decodeValue
in class AbstractControlFactory<SyncRequestValue>
control
- The control to feedcontrolBytes
- The data to decodeDecoderException
- If the value can't be decodedCopyright © 2003–2019 The Apache Software Foundation. All rights reserved.