de.bsvrz.pua.prot.interpreter
Class Interpreter

java.lang.Object
  extended by de.bsvrz.pua.prot.interpreter.Interpreter
All Implemented Interfaces:
InterpreterInterface

public class Interpreter
extends java.lang.Object
implements InterpreterInterface

Klasse zur Steuerung des Skript-Interpreter Moduls. Diese Klasse steuert die Abläufe beim Interpretieren des Skripts.

Version:
$Revision: 1.1 $ / $Date: 2008/01/22 16:38:02 $ / ($Author: yvonnes $)
Author:
beck et al. projects GmbH, Martin Hilgers

Constructor Summary
Interpreter(DataModel model)
          Erzeugen des Interpreters
 
Method Summary
 ProtocolRequestResult process(java.io.DataInputStream script, java.lang.String fileName, ProcessingParameter parameter, ProcessingInformation pi)
          Startet die Interpretation des Skripts.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interpreter

public Interpreter(DataModel model)
Erzeugen des Interpreters

Parameters:
model - Verbindung zur Konfiguration.
Method Detail

process

public ProtocolRequestResult process(java.io.DataInputStream script,
                                     java.lang.String fileName,
                                     ProcessingParameter parameter,
                                     ProcessingInformation pi)
Startet die Interpretation des Skripts.

Specified by:
process in interface InterpreterInterface
Parameters:
script - Quelltext Skript
fileName - Dateiname des Skripts (nur für detailliertere Fehlerberichte nötig)
parameter - Informationen zum Auswerten des Skripts
pi - Objekt, in dem die gewonnenen Informationen abgelegt werden
Returns:
Informationen über die Ausführung der Operation


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