de.bsvrz.pua.prot.processing
Class Processing

java.lang.Object
  extended by de.bsvrz.pua.prot.processing.Processing
All Implemented Interfaces:
ProcessingInterface

public class Processing
extends java.lang.Object
implements ProcessingInterface

Führt die Datenaufbereitung durch.

Version:
$Revision: 1.2 $ / $Date: 2008/01/22 16:55:49 $ / ($Author: yvonnes $)
Author:
beck et al. projects GmbH, Martin Hilgers

Constructor Summary
Processing(Sender sender, DataManagerInterface dataManager, SerializerUtil serializer, long protocolId, ProcessingParameter pp, ProcessingInformation pi, AtlMeta atlMeta, ConfigurationObject configAuth, long maxDelay)
          Erzeugt ein Objekt zur Datenaufbereitung.
 
Method Summary
 void abort()
          Bricht die Datenaufbereitung ab.
 long getProtocolId()
          Zum Abfragen der Protokoll-Id.
 byte getStatus()
          Anfrage nach dem Status der Datenaufbereitung
 void pauseProcessing()
          Versand von Protokolldatensätzen anhalten.
 ProtocolRequestResult process(boolean abortProcessing)
          Startet die Datenaufbereitung.
 void resumtProcessing()
          Versand von Protokolldatensätzen fortsetzen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Processing

public Processing(Sender sender,
                  DataManagerInterface dataManager,
                  SerializerUtil serializer,
                  long protocolId,
                  ProcessingParameter pp,
                  ProcessingInformation pi,
                  AtlMeta atlMeta,
                  ConfigurationObject configAuth,
                  long maxDelay)
Erzeugt ein Objekt zur Datenaufbereitung.

Parameters:
sender - Objekt zum Versand der Daten.
dataManager - Verbindung zum Daten Manager. Bei Bedarf speichert Daten Manager das Protokoll.
serializer - Objekt zum Zippen und Serialisieren der Ergebnisdaten.
protocolId - Id des zu erstellenden Protokolls.
pp - Auftragsparameter.
pi - Zur Protokollerstellung benötigte Informationen.
atlMeta - Metainformationen zum Skript aus dem pi generiert wurde. Werden für den Administrationsdatensatz benötigt.
configAuth - Konfigurationsverantwortlicher für Anfragen an das Archivsystem.
maxDelay - Maximale Zeitdauer in ms für die die Protokollerstellung angehalten werden kann.
Method Detail

process

public ProtocolRequestResult process(boolean abortProcessing)
Description copied from interface: ProcessingInterface
Startet die Datenaufbereitung.

Specified by:
process in interface ProcessingInterface
Parameters:
abortProcessing - Zeigt an ob die Datenaufbereitung abgebrochen werden soll.In diesem Fall wird eine negative Quittung an den Auftraggeber gesandt. Administrations- und Aggregations- Datensatz werden immer an den Auftraggeber gesendet.
Returns:
Ergebnis der Datenaufbereitung.
See Also:
ProcessingInterface.process(boolean)

abort

public void abort()
Bricht die Datenaufbereitung ab.

Specified by:
abort in interface ProcessingInterface
See Also:
ProcessingInterface.abort()

getStatus

public byte getStatus()
Description copied from interface: ProcessingInterface
Anfrage nach dem Status der Datenaufbereitung

Specified by:
getStatus in interface ProcessingInterface
Returns:
Statusinformation
See Also:
ProcessingInterface.getStatus()

pauseProcessing

public void pauseProcessing()
Description copied from interface: ProcessingInterface
Versand von Protokolldatensätzen anhalten.

Specified by:
pauseProcessing in interface ProcessingInterface
See Also:
ProcessingInterface.pauseProcessing()

resumtProcessing

public void resumtProcessing()
Description copied from interface: ProcessingInterface
Versand von Protokolldatensätzen fortsetzen.

Specified by:
resumtProcessing in interface ProcessingInterface
See Also:
ProcessingInterface.resumtProcessing()

getProtocolId

public long getProtocolId()
Description copied from interface: ProcessingInterface
Zum Abfragen der Protokoll-Id.

Specified by:
getProtocolId in interface ProcessingInterface
Returns:
Liefert die Protokoll-Id des Protokolls.
See Also:
ProcessingInterface.getProtocolId()


Copyright © 2005-2008 beck et al. projects GmbH All Rights Reserved.