Example


The example below shows a variation of the Lamport exclusion algorithm. Please see the features page for more details about the tool or documentation page for a description with more details of this example.


The client



Client with the GUI
Fig. 1: Definition of the STS Client using the STSLib interface
Client STS
Fig. 2: The STS Client file generated


Client Java Part
Fig. 3: Java implementation of the Client

The server


Server with DOT
Fig. 4: The STS Server dot representation

A composite



Lamport2.comp
Fig. 5: Composite component definition

The product



prod2.dot
Fig. 6: Synchronous product

The configuration graph



cfg1.dot
Fig. 7: Configuration graph

The controler

Controler.dot
Fig. 8: Example of a Controler that can be introduced to the application

The composite



Archi.comp
Fig. 9: Composite including the Controler
Archi.dot
Fig. 10: Architecture represented as a DOT file.


The product



Controler product
Fig. 11: Synchornous product with the Controler

The configuration graph



Controler CFG
Fig. 12: Configuration graph with the Controler

  Jean-Claude Royer
  Last modified: Mon Jan 3 12:27:20 CET 2008