|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.bsvrz.sys.dcf77.zeitverw.DCFdav
public class DCFdav
Hilfsklasse; implementiert die gesamte DAV Funktionalität der SWE DCF77. Hierzu gehören der Verbindungsafbau zum DAV, das an- und abmelden der Quellen und Empfaenger, sowie das senden und empfangen des Aspekts "Recher.dfcStatus.Zustand".
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 |
Constructor Summary | |
---|---|
DCFdav(java.lang.String[] args)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DCFdav(java.lang.String[] args)
args
- notwendige Argumente zur Datenverteilerverbindungde.bsvrz.sys.dcf77.zeitverw
Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |