starlink.ApplicationAutomata
Class AutomataEngine

java.lang.Object
  extended by starlink.ApplicationAutomata.AutomataEngine

public class AutomataEngine
extends java.lang.Object

AutomataEngine.java The core element of the Starlink architecture. This takes XML input files for the automata of each protocol and merged protocol, and provides an engine that executes the required translation behaviour.

Version:
Starlink 0.1
Author:
David Bromberg, Labri, University of Bordeaux

Constructor Summary
AutomataEngine()
           
 
Method Summary
 void addAutomata(java.lang.String str)
           
static StateMachine applyTranslationSpec(java.util.HashMap<java.lang.String,StateMachine> stms, org.jdom.Document spec)
           
 StateMachine createApplicationStateMachine(org.jdom.Document doc)
           
 void execute(java.lang.String connectorID, java.lang.String InstanceID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomataEngine

public AutomataEngine()
Method Detail

createApplicationStateMachine

public StateMachine createApplicationStateMachine(org.jdom.Document doc)
                                           throws java.lang.Exception
Throws:
java.lang.Exception

applyTranslationSpec

public static StateMachine applyTranslationSpec(java.util.HashMap<java.lang.String,StateMachine> stms,
                                                org.jdom.Document spec)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

addAutomata

public void addAutomata(java.lang.String str)

execute

public void execute(java.lang.String connectorID,
                    java.lang.String InstanceID)