public class AdDirSyncRequestFactory extends AbstractControlFactory<AdDirSyncRequest>
ControlFactory
which creates AdDirSyncRequest
controls.Constructor and Description |
---|
AdDirSyncRequestFactory(LdapApiService codec)
Creates a new instance of AdDirSyncRequestFactory.
|
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.
|
AdDirSyncRequest |
newControl()
Creates and returns a version of the Control.
|
decodeValue, getOid
public AdDirSyncRequestFactory(LdapApiService codec)
codec
- The codec for this factory.public AdDirSyncRequest newControl()
CodecControl
decorated version of the Control.public void encodeValue(Asn1Buffer buffer, Control control)
encodeValue
in interface ControlFactory<AdDirSyncRequest>
encodeValue
in class AbstractControlFactory<AdDirSyncRequest>
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<AdDirSyncRequest>
decodeValue
in class AbstractControlFactory<AdDirSyncRequest>
control
- The control to feedcontrolBytes
- The data to decodeDecoderException
- If the value can't be decodedCopyright © 2003–2021 The Apache Software Foundation. All rights reserved.