Skip to content
This repository was archived by the owner on Oct 25, 2019. It is now read-only.

Commit 0d6f91e

Browse files
author
Malah
committed
enhanced readme
1 parent 7752464 commit 0d6f91e

File tree

2 files changed

+28
-7
lines changed

2 files changed

+28
-7
lines changed

README.md

Lines changed: 28 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,28 @@ GPL v3 - Copyright Gautier and Gwénolé
55

66
This project was created within the ISTIC Rennes school for the AOC module.
77

8-
It corresponds to the implementation of two active object design pattern to link a generator of value and some monitor to display values asynchronously.
8+
It corresponds to the implementation of two active object design pattern to link a generator of value and some monitor to display values asynchronously, likes a observer pattern through a network.
9+
To manage the diffusion of a new value we used an strategy to apply different methods to transmit values, by default we can chose an atomic diffusion to always diffuse the same value to all monitors, a sequential diffusion to diffuse all value with the same sequence to all monitors and the causal diffusion to diffuse the value at the time when a get value is called.
910

10-
# Design
11+
# User interface
12+
13+
![ClassUpdate](https://raw.githubusercontent.com/ISTIC-M2-ILa-GM/aodp/dev/spec/img/gui.png)
14+
15+
An user can change the different diffusion with the help of the radio button. The user can also generate a new value and see how each monitor will displey them.
16+
Each monitor use a different retard, by default the retard is 500/800/1000/1200 ms.
17+
Each monitor use the two same scheduler (one for update and one for get value). We can't use one scheduler, because with only one scheduler, all threads of the pool could be filled by update and all get value called by the monitors will wait indefinitely.
18+
19+
# Architecture
1120

1221
## Diagrams
1322

23+
The main representation of these diagrams are the active object pattern, all others patterns aren't displayed.
24+
25+
We have represent the workflow with 3 diagrams on different point of view:
26+
* from the generator,
27+
* from the scheduler,
28+
* from the monitor.
29+
1430
### Class
1531
![ClassUpdate](https://raw.githubusercontent.com/ISTIC-M2-ILa-GM/aodp/dev/spec/img/UpdateClass.png)
1632
![ClassGetValue](https://raw.githubusercontent.com/ISTIC-M2-ILa-GM/aodp/dev/spec/img/getValueClass.png)
@@ -29,19 +45,19 @@ It corresponds to the implementation of two active object design pattern to link
2945

3046
Part of this project is developed using test driven development (TDD) and pair programming.
3147

48+
* Design pattern used: active object, strategy, observer, memento, factory and facade.
49+
3250
## Technology
3351

3452
* Language: Java 8
35-
* Front end: JavaFx
53+
* Front end: JavaFX
3654
* Build: maven
3755

56+
## Package
3857

3958
* Package: fr.istic.gm
4059
* Artifact: aodp
4160

42-
43-
* Design pattern used: active object, strategy, observer, memento, factory.
44-
4561
## Build
4662

4763
mvn install
@@ -64,4 +80,9 @@ Part of this project is developed using test driven development (TDD) and pair p
6480
- [X] CausalDiffusion
6581
- [X] SequentialDiffusion
6682
- [X] GetValueCallable
67-
- [X] UpdateRunnable
83+
- [X] UpdateRunnable
84+
85+
## Conclusion
86+
87+
This project help us to make an architecture with many design pattern for the function we want to implement.
88+
We also learned to make an interface with JavaFX.

spec/img/gui.png

27.7 KB
Loading

0 commit comments

Comments
 (0)