public class ManageDsaITDecorator extends ControlDecorator<ManageDsaIT> implements ManageDsaIT
value, valueLength
OID
Constructor and Description |
---|
ManageDsaITDecorator(LdapApiService codec,
ManageDsaIT control)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
int |
computeLength()
Returns 0 every time.
|
Asn1Object |
decode(byte[] controlBytes)
Decodes raw ASN.1 encoded bytes into an Asn1Object for the control.
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the object to a PDU.
|
equals, getCodecService, getDecorated, getOid, getValue, hashCode, hasValue, isCritical, setCritical, setDecorated, setValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getOid, isCritical, setCritical
public ManageDsaITDecorator(LdapApiService codec, ManageDsaIT control)
public int computeLength()
computeLength
in interface Asn1Object
computeLength
in interface Decorator<ManageDsaIT>
computeLength
in class ControlDecorator<ManageDsaIT>
public Asn1Object decode(byte[] controlBytes) throws DecoderException
CodecControl
decode
in interface CodecControl<ManageDsaIT>
controlBytes
- the encoded control bytesDecoderException
- if anything goes wrongpublic ByteBuffer encode(ByteBuffer buffer) throws EncoderException
Decorator
encode
in interface Asn1Object
encode
in interface Decorator<ManageDsaIT>
buffer
- The buffer where to put the PDUEncoderException
- if the buffer can't be encodedCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.