Class WeatherServerApp

    • Constructor Detail

      • WeatherServerApp

        public WeatherServerApp()
    • Method Detail

      • onStartup

        public void onStartup()
        This method is called by the Application Simulator when the vehicle that has been equipped with this application enters the simulation. It is the first method called of this class during a simulation.
      • processEvent

        public void processEvent​(Event event)
                          throws Exception
        This method is called by mosaic-application when a previously triggered event is handed over to the application for processing. Events can be triggered be this application itself, e.g. to run a routine periodically.
        Parameters:
        event - The event to be processed
        Throws:
        Exception
      • onShutdown

        public void onShutdown()
        This method is called by mosaic-application when the simulation has finished.