Class StateMachineExample


  • public class StateMachineExample
    extends Object
    Main class of the state machine example. This class implements the streaming application that receives the stream of events and evaluates a state machine (per originating address) to validate that the events follow the state machine's rules.
    • Constructor Detail

      • StateMachineExample

        public StateMachineExample()
    • Method Detail

      • main

        public static void main​(String[] args)
                         throws Exception
        Main entry point for the program.
        Parameters:
        args - The command line arguments.
        Throws:
        Exception