Class NotProcessingApp

    • Constructor Detail

      • NotProcessingApp

        public NotProcessingApp()
    • Method Detail

      • processEvent

        public void processEvent​(Event event)
        Description copied from interface: EventProcessor
        Processes the given event.
        Specified by:
        processEvent in interface EventProcessor
        Parameters:
        event - the event to process
      • onStartup

        public void onStartup()
        Description copied from interface: Application
        The operating system calls this method to notify that the application is started.
        Specified by:
        onStartup in interface Application
      • onShutdown

        public void onShutdown()
        Description copied from interface: Application
        The operating system calls this method to notify that the application is going to be torn down.
        Specified by:
        onShutdown in interface Application
      • onVehicleUpdated

        public void onVehicleUpdated​(@Nullable
                                     VehicleData previousVehicleData,
                                     @Nonnull
                                     VehicleData updatedVehicleData)
        Description copied from interface: VehicleApplication
        Is called when ever the vehicle has moved. That is, if the VehicleData of the unit has been updated.
        Specified by:
        onVehicleUpdated in interface VehicleApplication
        Parameters:
        previousVehicleData - the previous state of the vehicle
        updatedVehicleData - the updated state of the vehicle