public class GlSpeicherServer extends Object implements de.bsvrz.dav.daf.main.ClientReceiverInterface, de.bsvrz.dav.daf.main.ClientSenderInterface
atg.ganglinienSpeicherAnfrage und
atg.ganglinienSpeicherAntwort angemeldet.| Modifier and Type | Field and Description |
|---|---|
private de.bsvrz.dav.daf.main.DataDescription |
antwortDataDescription
Datenbeschreibung fuer Serverantworten.
|
private AnfrageArbeiter[] |
arbeiter
Anfrage-Worker.
|
private de.bsvrz.dav.daf.main.ClientDavInterface |
dav
Verbindung zum Datenverteiler.
|
private javax.persistence.EntityManagerFactory |
emf
EntityManagerFactory. |
private de.bsvrz.dav.daf.main.config.SystemObject |
serverObj
Server-Systemobjekt.
|
private static int |
workerCount
Globaler Zaehler zur Adressierung der einzelnen Worker-Threads.
|
| Constructor and Description |
|---|
GlSpeicherServer(de.bsvrz.dav.daf.main.ClientDavInterface dav,
javax.persistence.EntityManagerFactory emf)
Konstruktor.
|
GlSpeicherServer(de.bsvrz.dav.daf.main.ClientDavInterface dav,
javax.persistence.EntityManagerFactory emf,
int anzahlWorker)
Konstruktor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dataRequest(de.bsvrz.dav.daf.main.config.SystemObject object,
de.bsvrz.dav.daf.main.DataDescription dataDescription,
byte state) |
de.bsvrz.dav.daf.main.DataDescription |
getAntwortDataDescription()
Erfragt die Datenbeschreibung von Serverantworten.
|
de.bsvrz.dav.daf.main.ClientDavInterface |
getDav()
Erfragt die Datenverteiler-Verbindung.
|
javax.persistence.EntityManagerFactory |
getEmf()
Erfragt die
EntityManagerFactory. |
de.bsvrz.dav.daf.main.config.SystemObject |
getServerObj()
Erfragt das Server-Systemobjekt.
|
boolean |
isRequestSupported(de.bsvrz.dav.daf.main.config.SystemObject object,
de.bsvrz.dav.daf.main.DataDescription dataDescription) |
void |
update(de.bsvrz.dav.daf.main.ResultData[] results) |
private static int workerCount
private final de.bsvrz.dav.daf.main.ClientDavInterface dav
private final javax.persistence.EntityManagerFactory emf
EntityManagerFactory.private final de.bsvrz.dav.daf.main.DataDescription antwortDataDescription
private final AnfrageArbeiter[] arbeiter
private final de.bsvrz.dav.daf.main.config.SystemObject serverObj
public GlSpeicherServer(de.bsvrz.dav.daf.main.ClientDavInterface dav,
javax.persistence.EntityManagerFactory emf)
throws de.bsvrz.dav.daf.main.OneSubscriptionPerSendData
dav - Verbindung zum Datenverteiler.emf - EntityManagerFactory.de.bsvrz.dav.daf.main.OneSubscriptionPerSendData - wird weitergereicht.public GlSpeicherServer(de.bsvrz.dav.daf.main.ClientDavInterface dav,
javax.persistence.EntityManagerFactory emf,
int anzahlWorker)
throws de.bsvrz.dav.daf.main.OneSubscriptionPerSendData
dav - Verbindung zum Datenverteiler.emf - EntityManagerFactory.anzahlWorker - Anzahl parallel arbeitender Threads.de.bsvrz.dav.daf.main.OneSubscriptionPerSendData - wird weitergereicht.public de.bsvrz.dav.daf.main.DataDescription getAntwortDataDescription()
public de.bsvrz.dav.daf.main.ClientDavInterface getDav()
public javax.persistence.EntityManagerFactory getEmf()
EntityManagerFactory.EntityManagerFactory.public de.bsvrz.dav.daf.main.config.SystemObject getServerObj()
public void update(de.bsvrz.dav.daf.main.ResultData[] results)
update in interface de.bsvrz.dav.daf.main.ClientReceiverInterfacepublic 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.ClientSenderInterfacepublic 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.ClientSenderInterfaceCopyright © 2017 BitCtrl Systems GmbH. All rights reserved.