Package de.dfki.lt.sdl

Interface Summary
IMediator this is the interface which every mediator must fulfill!!
IModule this is the interface which every module (may it be global or local composite) MUST fulfill!!
 

Class Summary
Mediators this is the default (super)class of the three mediators o seq: sequence or concatenation, o par: parallelism or concurrency, o fix: fixpoint or unrestricted iteration, providing some default behavior; I originaly thought that this functionality (without the trival default sequence mediator) had to be part of the module interface; however, a module should usually NOT know what a fixpoint is (in case of module iteration); moreover, when moving the mediators into the module interface, an asymmetry for the parallelism pattern will occur; NOTE: the mediators do NOT set the input NOR the output of their module parameters!! note that in case we want to have specific mediators for certain modules/ module combinations, we can easily achieve this by providing additional instance methods with different signatures in subclasses of Mediators
Modules the abstract superclass of all modules, implementing some default functionality which can be inherited by a concrete implementation; default implementation is given for o clear() o init() o getInput() o setInput() o getOutput() o setOutput() NO useful implementation is given for the unary method o run() only an UnsupportedOperationException is thrown
Sdl the purpose of this class is merely to perform a compilation of a system description into a Java class definition; a system descriptions must meet the following EBNF: ::= [ ] [ ] [ ] ::= "=" ::= a fully qualified Java class name ::= | "(" ")" | | "(" "|" { }^+ ")" | "(" "*" ")" ::= the newline character ::= "Mediator" "=" ::= a fully qualified Java class name ::= "Threaded" "=" { "yes" | "no"} ::= "Debug" "=" { "yes" | "no"} ::= { }^+ ::= "=" [ ] ::= a symbol, consisting of only lowercase letters ::= "(" { }^+ ")" ::= a Java string
 

Error Summary
ModuleClearError instances of this class might be thrown during the clearing phase of a module, caused by the calling clear()
ModuleInitError instances of this class might be thrown during the initialization phase of a module, caused by the calling init()
ModuleRunError instances of this class might be thrown during the running/computation phase of a module, caused by the calling run()
SdlError this abstract class serves as the abstract superclass for the three error classes possible in SDL