public class RdsMeldung extends Object implements de.bsvrz.sys.funclib.application.StandardApplication, Runnable
über den Aufrufparameter "-kb" wird festgelegt, in welchen Konfigurationsbereich die Objekte (typ.tmcVerkehrsMeldung) gelegt werden.
Modifier and Type | Field and Description |
---|---|
protected de.bsvrz.dav.daf.main.config.Aspect |
_aspekt |
protected de.bsvrz.dav.daf.main.config.AttributeGroup |
_attributgruppe |
protected de.bsvrz.dav.daf.main.config.ConfigurationObject |
_configObj |
protected de.bsvrz.dav.daf.main.DataDescription |
_datenbeschreibung |
private static de.bsvrz.sys.funclib.debug.Debug |
_debug |
protected de.bsvrz.dav.daf.main.config.DynamicObjectType |
_dynObjTyp |
private boolean |
_erfolg |
private String |
_kb
String Konfigurationsbereich Kommandozeile
|
private boolean |
_kb_ausschluss |
private String[] |
_kb_liste
Liste mit einzelnen Konfigurationsbereichen durch Aufspaltung von _kb mit
Trenner ':'
|
protected de.bsvrz.dav.daf.main.config.ConfigurationArea |
_konfigBereich |
private String |
_kv
String Konfigurationsverantworlicher Kommandozeile
|
private String |
_name
String name Kommandozeile
|
private String |
_objektTyp
String Objekttyp Kommandozeile
|
private String |
_pid
String Pid Kommandozeile
|
protected de.bsvrz.dav.daf.main.SenderRole |
_senderrolle |
protected short |
_simulationsvariante |
private String |
_test |
protected VerwaltungDynObj |
_verwaltung |
private String |
aspekt |
private boolean |
debug |
private boolean |
erfolg |
private String |
ergebnis |
(package private) static String |
LMS_PID |
protected de.bsvrz.dav.daf.main.ClientDavInterface |
m_connection
Übergebene Datenverteiler Verbindung
|
protected de.bsvrz.dav.daf.main.config.DataModel |
m_dataModel
Übergebenes Datenmodell
|
private static de.bsvrz.sys.funclib.debug.Debug |
m_debug
Comment for
debug |
(package private) de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument |
m_konfigurationsBereich
Argument Konfigurationsbereiche (-kb)
|
(package private) de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument |
m_konfigurationsVerantwortlicher
Argument KonfigurationsVerantworlicher (-kv)
|
(package private) de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument |
m_name
Argument Objekttyp (-name)
|
(package private) de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument |
m_objektTyp
Argument Objekttyp (-objTyp)
|
(package private) de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument |
m_pid
Argument Objekttyp (-pid)
|
private static Process |
m_proc |
(package private) TmcMeldungsVerwaltung |
m_rds_meldung
Objekt beinhaltet alle dynamischen Staus.
|
private int |
m_teiler |
private de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument |
m_test
Testfall
|
static String |
MELDUNGEN_ATG |
static String |
MELDUNGEN_MENGE |
private static String |
MELDUNGEN_TYP |
private String |
quelle |
private String |
status |
protected de.bsvrz.dav.daf.main.config.SystemObject |
systemobjekt |
private String |
tmc |
private String |
zustand |
Constructor and Description |
---|
RdsMeldung() |
Modifier and Type | Method and Description |
---|---|
protected void |
erstelleRdsMeldung()
Erstellung der Konfigurationsobjekte.
|
void |
erzeuge(String pid,
String name,
String set,
de.bsvrz.dav.daf.main.Data[] data) |
private String |
getInternalStatusText(String status) |
void |
iniRdsMeldung(de.bsvrz.dav.daf.main.ClientDavInterface connection) |
void |
iniTest(String text)
Initialisiert den Empfangsthread.
|
void |
initialize(de.bsvrz.dav.daf.main.ClientDavInterface connection)
Initialisierung von Datenverteiler
|
de.bsvrz.dav.daf.main.Data |
konfDatenSetzen(String _status,
int vkfz,
String _veranlasser) |
void |
konfiguriere(de.bsvrz.dav.daf.main.Data data) |
void |
loesche(String pid) |
void |
loescheTMCObjekte()
Loescht alle TMC-Objekte und legt diese neu an
|
static void |
main(String[] args)
Statische Methode für das Starten des Programms.
|
void |
parametriere(String _status,
int vkfz,
String _veranlasser) |
void |
parametriereSituation() |
void |
parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList) |
de.bsvrz.dav.daf.main.ClientDavInterface |
prozessStart(de.bsvrz.dav.daf.main.ClientDavInterface connection,
String text)
Startet den zu prüfenden Prozess, Installiert eine
Datenverteilerverbindung.
|
static void |
prozessStop()
Stoppt den zu prüfenden Prozess.
|
void |
run()
Thread für Überwachung der Rückmeldetelegramme.
|
boolean |
testfall(de.bsvrz.dav.daf.main.ClientDavInterface connection,
String test,
int teiler)
Testfälle für automatische JUnit - Tests.
|
boolean |
tmcmeldung(de.bsvrz.dav.daf.main.ClientDavInterface connection,
String pid,
String quelleP,
String zustandP,
String aspektP,
String statusP)
Versendet eine TMC - Meldung.
|
void |
update(de.bsvrz.dav.daf.main.config.MutableSet arg0,
de.bsvrz.dav.daf.main.config.SystemObject[] arg1,
de.bsvrz.dav.daf.main.config.SystemObject[] arg2) |
static final String LMS_PID
public static final String MELDUNGEN_MENGE
private static final String MELDUNGEN_TYP
public static final String MELDUNGEN_ATG
private static de.bsvrz.sys.funclib.debug.Debug m_debug
debug
protected de.bsvrz.dav.daf.main.ClientDavInterface m_connection
protected de.bsvrz.dav.daf.main.config.DataModel m_dataModel
de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument m_konfigurationsBereich
de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument m_konfigurationsVerantwortlicher
de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument m_objektTyp
de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument m_pid
de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument m_name
private String _kb
private String _kv
private String _objektTyp
private String _pid
private String _name
private de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.Argument m_test
private String _test
private static de.bsvrz.sys.funclib.debug.Debug _debug
private String tmc
private String quelle
private String zustand
private String aspekt
private String status
private String ergebnis
private boolean erfolg
private boolean _erfolg
private boolean debug
private int m_teiler
private static Process m_proc
TmcMeldungsVerwaltung m_rds_meldung
private String[] _kb_liste
private boolean _kb_ausschluss
protected de.bsvrz.dav.daf.main.config.SystemObject systemobjekt
protected de.bsvrz.dav.daf.main.config.AttributeGroup _attributgruppe
protected de.bsvrz.dav.daf.main.config.Aspect _aspekt
protected de.bsvrz.dav.daf.main.DataDescription _datenbeschreibung
protected short _simulationsvariante
protected de.bsvrz.dav.daf.main.SenderRole _senderrolle
protected de.bsvrz.dav.daf.main.config.ConfigurationArea _konfigBereich
protected de.bsvrz.dav.daf.main.config.DynamicObjectType _dynObjTyp
protected de.bsvrz.dav.daf.main.config.ConfigurationObject _configObj
protected VerwaltungDynObj _verwaltung
public void initialize(de.bsvrz.dav.daf.main.ClientDavInterface connection) throws Exception
initialize
in interface de.bsvrz.sys.funclib.application.StandardApplication
Exception
public void iniRdsMeldung(de.bsvrz.dav.daf.main.ClientDavInterface connection) throws Exception
Exception
public void iniTest(String text)
text
- Parametertextpublic void run()
public boolean tmcmeldung(de.bsvrz.dav.daf.main.ClientDavInterface connection, String pid, String quelleP, String zustandP, String aspektP, String statusP)
connection
- Verbindung zum Datenverteilerpid
- Meldungsobjekt ( TMCMeldung )quelleP
- MeldungsquellezustandP
- MeldungszustandaspektP
- MeldungsaspektstatusP
- Meldungsstatuspublic void parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList) throws Exception
parseArguments
in interface de.bsvrz.sys.funclib.application.StandardApplication
Exception
public static void main(String[] args)
args
- Kommandozeilen-Parameterprotected void erstelleRdsMeldung() throws Exception
Exception
- bei Fehlernpublic void update(de.bsvrz.dav.daf.main.config.MutableSet arg0, de.bsvrz.dav.daf.main.config.SystemObject[] arg1, de.bsvrz.dav.daf.main.config.SystemObject[] arg2)
public void parametriereSituation()
public de.bsvrz.dav.daf.main.Data konfDatenSetzen(String _status, int vkfz, String _veranlasser)
public void konfiguriere(de.bsvrz.dav.daf.main.Data data)
public void loesche(String pid)
public void loescheTMCObjekte()
public boolean testfall(de.bsvrz.dav.daf.main.ClientDavInterface connection, String test, int teiler) throws Exception
connection
- ClientDavInterface
test
- Name des Teststeiler
- Teilertrue
, wenn Test ok, sonst false
Exception
- bei Fehlernpublic de.bsvrz.dav.daf.main.ClientDavInterface prozessStart(de.bsvrz.dav.daf.main.ClientDavInterface connection, String text) throws Exception
connection
- Verbindung zum Datenverteilertext
- Ausgabe eines StarttextesException
- wenn keine Verbindung möglichpublic static void prozessStop()
Copyright © 2016 BitCtrl Systems GmbH. All rights reserved.