public class SmRunner extends Object implements de.bsvrz.sys.funclib.application.StandardApplication
| Modifier and Type | Class and Description |
|---|---|
protected class |
SmRunner.ShutdownHook
Damit bei Beendung der Applikation sich alle De's unmelden vom DAV
|
| Modifier and Type | Field and Description |
|---|---|
private de.bsvrz.dav.daf.main.ClientDavInterface |
dav
Verbindung zum Datenverteiler
|
private static SmRunner |
deRunner
Es gibt immer nur ein DeRunner in der Applikation, deswegen static
|
private Collection<SteuerModulSim> |
listSM
Liste aller SM
|
| Constructor and Description |
|---|
SmRunner() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(SteuerModulSim sm)
Fuegt ein SM in die Liste ein
|
void |
disconnect()
Abmeldung vom DAV
|
(package private) static SmRunner |
getInstance()
Ergibt eine Singleton Instanz
|
void |
initialize(de.bsvrz.dav.daf.main.ClientDavInterface connection) |
void |
parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList) |
(package private) void |
run()
Weil das Terminate button in Eclipse ruft halt(), wird das ShutdownHook
nicht gerufen deswegen wollen wir mit exit() beenden
|
private final Collection<SteuerModulSim> listSM
private de.bsvrz.dav.daf.main.ClientDavInterface dav
private static SmRunner deRunner
static final SmRunner getInstance()
public void initialize(de.bsvrz.dav.daf.main.ClientDavInterface connection)
throws Exception
initialize in interface de.bsvrz.sys.funclib.application.StandardApplicationExceptionpublic void parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList)
throws Exception
parseArguments in interface de.bsvrz.sys.funclib.application.StandardApplicationExceptionpublic void disconnect()
public void add(SteuerModulSim sm)
sm - void run()
Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.