public class DCFdav extends java.lang.Object implements de.bsvrz.sys.funclib.application.StandardApplication, de.bsvrz.dav.daf.main.ClientReceiverInterface, de.bsvrz.dav.daf.main.ClientSenderInterface, IdcfTestReader
Constructor and Description |
---|
DCFdav(java.lang.String[] args) |
Modifier and Type | Method and Description |
---|---|
void |
closeDCFtestReader()
Schliesst einen nicht mehr benötigten TestReader.
|
void |
dataRequest(de.bsvrz.dav.daf.main.config.SystemObject object,
de.bsvrz.dav.daf.main.DataDescription dataDescription,
byte state) |
void |
disconnect()
Verbindung zum Sender, Empfaenger und Datenverteiler trennen
|
DataAspZustand |
getNeuestenAspZustand()
Testroutine: Liefert den zuletzt ueber den DAV empfangenen Rechner.dcfStatus.Zustand zurueck.
|
void |
initialize(de.bsvrz.dav.daf.main.ClientDavInterface davConnection) |
boolean |
isRequestSupported(de.bsvrz.dav.daf.main.config.SystemObject object,
de.bsvrz.dav.daf.main.DataDescription dataDescription) |
java.lang.String |
leseLokaleRechnerPid()
Liefere pid des aktuellen Rechners (typ.rechner)
|
static void |
main(java.lang.String[] args)
Testroutine fuer das lokale Modul.
|
void |
openDCFtestReader()
Initialisiert einen Reader.
|
void |
parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList) |
void |
sendDavZustand(DataAspZustand dataAspZustand)
Sende Datensatz vom Type rechner.dcfStatus.zustand
|
void |
subscribeReceiveDavZustand()
Anmeldung am DAV als Empfaenger der Attributgruppe rechner.dcfStatus.zustand
|
void |
subscribeSendDavZustand()
Anmeldung am DAV als Quelle der Attributgruppe rechner.dcfStatus.zustand
|
void |
unsubscribeReceiveDavZustand()
Abmeldung als Empfaenger/Senke der Attributgruppe rechner.dcfStatus.zustand
|
void |
unsubscribeSendDavZustand()
Abmeldung als Sender/Quelle der Attributgruppe rechner.dcfStatus.zustand
|
void |
update(de.bsvrz.dav.daf.main.ResultData[] results) |
public DCFdav(java.lang.String[] args)
args
- notwendige Argumente zur DatenverteilerverbindungZeitverwaltung.main(String[])
public void initialize(de.bsvrz.dav.daf.main.ClientDavInterface davConnection) throws java.lang.Exception
initialize
in interface de.bsvrz.sys.funclib.application.StandardApplication
java.lang.Exception
public void parseArguments(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList) throws java.lang.Exception
parseArguments
in interface de.bsvrz.sys.funclib.application.StandardApplication
java.lang.Exception
public void dataRequest(de.bsvrz.dav.daf.main.config.SystemObject object, de.bsvrz.dav.daf.main.DataDescription dataDescription, byte state)
dataRequest
in interface de.bsvrz.dav.daf.main.ClientSenderInterface
public boolean isRequestSupported(de.bsvrz.dav.daf.main.config.SystemObject object, de.bsvrz.dav.daf.main.DataDescription dataDescription)
isRequestSupported
in interface de.bsvrz.dav.daf.main.ClientSenderInterface
public void update(de.bsvrz.dav.daf.main.ResultData[] results)
update
in interface de.bsvrz.dav.daf.main.ClientReceiverInterface
public DataAspZustand getNeuestenAspZustand()
IdcfTestReader
getNeuestenAspZustand
in interface IdcfTestReader
public void closeDCFtestReader()
IdcfTestReader
closeDCFtestReader
in interface IdcfTestReader
public void openDCFtestReader()
IdcfTestReader
openDCFtestReader
in interface IdcfTestReader
public void subscribeSendDavZustand()
public void unsubscribeSendDavZustand()
public void sendDavZustand(DataAspZustand dataAspZustand)
dataAspZustand
- Versandobjektpublic void subscribeReceiveDavZustand()
public void unsubscribeReceiveDavZustand()
public void disconnect()
public static void main(java.lang.String[] args)
args
- Testargumentepublic java.lang.String leseLokaleRechnerPid()