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 |
protected de.bsvrz.dav.daf.main.config.DynamicObjectType |
_dynObjTyp |
protected de.bsvrz.dav.daf.main.config.ConfigurationArea |
_konfigBereich |
protected de.bsvrz.dav.daf.main.SenderRole |
_senderrolle |
protected short |
_simulationsvariante |
protected VerwaltungDynObj |
_verwaltung |
protected de.bsvrz.dav.daf.main.ClientDavInterface |
m_connection
Übergebene Datenverteiler Verbindung
|
protected de.bsvrz.dav.daf.main.config.DataModel |
m_dataModel
Übergebenes Datenmodell
|
static String |
MELDUNGEN_ATG |
static String |
MELDUNGEN_MENGE |
protected de.bsvrz.dav.daf.main.config.SystemObject |
systemobjekt |
| 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) |
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) |
public static final String MELDUNGEN_MENGE
public static final String MELDUNGEN_ATG
protected de.bsvrz.dav.daf.main.ClientDavInterface m_connection
protected de.bsvrz.dav.daf.main.config.DataModel m_dataModel
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.StandardApplicationExceptionpublic void iniRdsMeldung(de.bsvrz.dav.daf.main.ClientDavInterface connection)
throws Exception
Exceptionpublic 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.StandardApplicationExceptionpublic 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 - ClientDavInterfacetest - Name des Teststeiler - Teilertrue, wenn Test ok, sonst falseException - 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.