ProtocolModuleInterface
public class StandardProtocoller extends ProtocolModule
Constructor | Description |
---|---|
StandardProtocoller() |
Erzeugt ein neues Objekt der Klasse
StandardProtocoller mit dem actionText Aktualisierung |
StandardProtocoller(java.lang.String actionText) |
Erzeugt ein neues Objekt der Klasse
StandardProtocoller mit speziellem actionText |
Modifier and Type | Method | Description |
---|---|---|
void |
closeProtocol() |
Führt Aufräumarbeiten nach Beendigung des Standardprotokollierers aus.
|
java.lang.String |
getHelp() |
Gibt Information über die Aufrufparameter des Protokollierungsmoduls zurück
|
protected de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.ValueSelection |
getProtocollerSelection() |
Stellt Liste der bekannten Protokollierer zusammen.
|
de.bsvrz.dav.daf.main.ClientReceiverInterface |
initProtocol(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList,
java.io.PrintWriter protocolFileWriter,
java.lang.String[] args) |
Führt die Initialisierungsschritte des Standardprotokollierers aus.
|
de.bsvrz.dav.daf.main.ClientReceiverInterface |
initProtocolWithoutHeader(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList protocollerArgumentList,
java.io.PrintWriter printWriter) |
Führt die Initialisierungsschritte des Standardprotokollierers aus.
|
void |
update(de.bsvrz.dav.daf.main.ResultData[] results) |
Aktualisierungsmethode, die nach Empfang eines angemeldeten Datensatzes vom benutzten Protokollierer aufgerufen wird.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProtocolFileWriter, getProtocoller, setProtocolFileWriter, setProtocoller
public StandardProtocoller()
StandardProtocoller
mit dem actionText
Aktualisierungpublic StandardProtocoller(java.lang.String actionText)
StandardProtocoller
mit speziellem actionText
actionText
- String mit dem gewünschten Ausgabetext bei Aktualisierungenpublic java.lang.String getHelp()
getHelp
in interface ProtocolModuleInterface
getHelp
in class ProtocolModule
public de.bsvrz.dav.daf.main.ClientReceiverInterface initProtocol(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList argumentList, java.io.PrintWriter protocolFileWriter, java.lang.String[] args)
initProtocol
in interface ProtocolModuleInterface
initProtocol
in class ProtocolModule
argumentList
- ArgumentList
der noch nicht ausgewerteten Aufrufparameter der ApplikationprotocolFileWriter
- PrintWriter der protokollierten Datensequenzenargs
- String[] mit den Kommandozeilenargumentenpublic de.bsvrz.dav.daf.main.ClientReceiverInterface initProtocolWithoutHeader(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList protocollerArgumentList, java.io.PrintWriter printWriter)
protocollerArgumentList
- printWriter
- public void update(de.bsvrz.dav.daf.main.ResultData[] results)
update
in class ProtocolModule
results
- ResultData
[] mit den empfangenen ErgebnisdatensätzenClientReceiverInterface.update(de.bsvrz.dav.daf.main.ResultData[])
public void closeProtocol()
closeProtocol
in interface ProtocolModuleInterface
closeProtocol
in class ProtocolModule
protected de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.ValueSelection getProtocollerSelection()
ArgumentList.Argument.asValueCase(de.bsvrz.sys.funclib.commandLineArgs.ArgumentList.ValueSelection)
benutzt werden, um eine der verschiedenen Ausgabeoptionen auszuwählen.