Package org.opends.server.plugins
Class ChangeNumberControlPlugin.ChangeNumberControl
- java.lang.Object
-
- org.opends.server.types.Control
-
- org.opends.server.plugins.ChangeNumberControlPlugin.ChangeNumberControl
-
- Enclosing class:
- ChangeNumberControlPlugin
public static class ChangeNumberControlPlugin.ChangeNumberControl extends Control
The control used by this plugin.
-
-
Constructor Summary
Constructors Constructor Description ChangeNumberControl(boolean isCritical, CSN csn)Constructs a new change number control.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSNgetCSN()Retrieves the CSN.protected voidwriteValue(ASN1Writer writer)Writes this control's value to an ASN.1 writer.
-
-
-
Constructor Detail
-
ChangeNumberControl
public ChangeNumberControl(boolean isCritical, CSN csn)Constructs a new change number control.- Parameters:
isCritical- Indicates whether support for this control should be considered a critical part of the server processing.csn- The CSN.
-
-
Method Detail
-
writeValue
protected void writeValue(ASN1Writer writer) throws IOException
Description copied from class:ControlWrites this control's value to an ASN.1 writer. The value (if any) must be written as an ASN1OctetString.- Specified by:
writeValuein classControl- Parameters:
writer- The ASN.1 writer to use.- Throws:
IOException- If a problem occurs while writing to the stream.
-
getCSN
public CSN getCSN()
Retrieves the CSN.- Returns:
- The CSN.
-
-