Class UfdTestSender

  • All Implemented Interfaces:
    de.bsvrz.dav.daf.main.ClientSenderInterface, de.bsvrz.sys.funclib.application.StandardApplication, java.lang.Runnable

    public final class UfdTestSender
    extends java.util.TimerTask
    implements de.bsvrz.sys.funclib.application.StandardApplication, de.bsvrz.dav.daf.main.ClientSenderInterface
    Test-Applikation zur Erzeugung einigermaßen realistischer Kurzzeitdaten.
    • Field Summary

      • Fields inherited from interface de.bsvrz.dav.daf.main.ClientSenderInterface

        START_SENDING, STOP_SENDING, STOP_SENDING_NO_RIGHTS, STOP_SENDING_NOT_A_VALID_SUBSCRIPTION
    • Method Summary

      Modifier and Type Method Description
      void dataRequest​(de.bsvrz.dav.daf.main.config.SystemObject object, de.bsvrz.dav.daf.main.DataDescription dataDescription, byte state)  
      void initialize​(de.bsvrz.dav.daf.main.ClientDavInterface dav)  
      boolean isRequestSupported​(de.bsvrz.dav.daf.main.config.SystemObject object, de.bsvrz.dav.daf.main.DataDescription dataDescription)  
      static void main​(java.lang.String[] args)
      Die Hauptfunktion des Observers.
      void parseArguments​(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList)  
      void run()
      Prüft die Verfügbarkeit von Kurzzeitdaten aller Fahrstreifen
      und sendet für die Stationen, die länger als X Minuten keine KZD empfangen haben eine Warnung an die BMV.
      • Methods inherited from class java.util.TimerTask

        cancel, scheduledExecutionTime
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • run

        public void run()
        Prüft die Verfügbarkeit von Kurzzeitdaten aller Fahrstreifen
        und sendet für die Stationen, die länger als X Minuten keine KZD empfangen haben eine Warnung an die BMV.
        Specified by:
        run in interface java.lang.Runnable
        Specified by:
        run in class java.util.TimerTask
      • initialize

        public void initialize​(de.bsvrz.dav.daf.main.ClientDavInterface dav)
                        throws java.lang.Exception
        Specified by:
        initialize in interface de.bsvrz.sys.funclib.application.StandardApplication
        Throws:
        java.lang.Exception
      • parseArguments

        public void parseArguments​(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList)
                            throws java.lang.Exception
        Specified by:
        parseArguments in interface de.bsvrz.sys.funclib.application.StandardApplication
        Throws:
        java.lang.Exception
      • main

        public static void main​(java.lang.String[] args)
        Die Hauptfunktion des Observers.
        Parameters:
        args - Programm-Argumente
      • dataRequest

        public void dataRequest​(de.bsvrz.dav.daf.main.config.SystemObject object,
                                de.bsvrz.dav.daf.main.DataDescription dataDescription,
                                byte state)
        Specified by:
        dataRequest in interface de.bsvrz.dav.daf.main.ClientSenderInterface
      • isRequestSupported

        public boolean isRequestSupported​(de.bsvrz.dav.daf.main.config.SystemObject object,
                                          de.bsvrz.dav.daf.main.DataDescription dataDescription)
        Specified by:
        isRequestSupported in interface de.bsvrz.dav.daf.main.ClientSenderInterface