public class ChangeNotificationsDecorator
extends org.apache.directory.api.ldap.codec.api.ControlDecorator<org.apache.directory.api.ldap.extras.controls.changeNotifications.ChangeNotifications>
implements org.apache.directory.api.ldap.extras.controls.changeNotifications.ChangeNotifications
| Constructor and Description |
|---|
ChangeNotificationsDecorator(org.apache.directory.api.ldap.codec.api.LdapApiService codec,
org.apache.directory.api.ldap.extras.controls.changeNotifications.ChangeNotifications control)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Returns 0 every time.
|
org.apache.directory.api.asn1.Asn1Object |
decode(byte[] controlBytes) |
ByteBuffer |
encode(ByteBuffer buffer) |
equals, getCodecService, getDecorated, getOid, getValue, hashCode, hasValue, isCritical, setCritical, setDecorated, setValue, toStringpublic ChangeNotificationsDecorator(org.apache.directory.api.ldap.codec.api.LdapApiService codec,
org.apache.directory.api.ldap.extras.controls.changeNotifications.ChangeNotifications control)
public int computeLength()
computeLength in interface org.apache.directory.api.asn1.Asn1ObjectcomputeLength in interface org.apache.directory.api.ldap.codec.api.Decorator<org.apache.directory.api.ldap.extras.controls.changeNotifications.ChangeNotifications>computeLength in class org.apache.directory.api.ldap.codec.api.ControlDecorator<org.apache.directory.api.ldap.extras.controls.changeNotifications.ChangeNotifications>public org.apache.directory.api.asn1.Asn1Object decode(byte[] controlBytes)
throws org.apache.directory.api.asn1.DecoderException
decode in interface org.apache.directory.api.ldap.codec.api.CodecControl<org.apache.directory.api.ldap.extras.controls.changeNotifications.ChangeNotifications>org.apache.directory.api.asn1.DecoderExceptionpublic ByteBuffer encode(ByteBuffer buffer) throws org.apache.directory.api.asn1.EncoderException
encode in interface org.apache.directory.api.asn1.Asn1Objectencode in interface org.apache.directory.api.ldap.codec.api.Decorator<org.apache.directory.api.ldap.extras.controls.changeNotifications.ChangeNotifications>org.apache.directory.api.asn1.EncoderExceptionCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.