Class CommandProbe

    • Method Detail

      • call

        public java.lang.Integer call()
                               throws java.lang.Exception
        Description copied from class: CommandRoot
        This method must be called by subclasses.
        Specified by:
        call in interface java.util.concurrent.Callable<java.lang.Integer>
        Overrides:
        call in class CommandRoot
        Returns:
        0
        Throws:
        java.lang.Exception - On errors
      • onVersionReceived

        public java.util.Optional<SMFParserEventsHeaderType> onVersionReceived​(SMFFormatVersion version)
        Description copied from interface: SMFParserEventsType
        The file format version has been successfully parsed. The functions should return a receiver for the header information if parsing should continue, or Optional.empty() if parsing should stop.
        Specified by:
        onVersionReceived in interface SMFParserEventsType
        Parameters:
        version - The file format version
        Returns:
        A receiver for the header, if any
      • onFinish

        public void onFinish()
        Description copied from interface: SMFParserEventsType
        Parsing has finished. This method will be called unconditionally when the parser is closed, regardless of any errors encountered.
        Specified by:
        onFinish in interface SMFParserEventsType