Class ChangeNumberControlPlugin.ChangeNumberControl

    • 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: Control
        Writes this control's value to an ASN.1 writer. The value (if any) must be written as an ASN1OctetString.
        Specified by:
        writeValue in class Control
        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.