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

Commit 94c8185

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

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,27 @@ 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, 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.
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 an observer pattern through a network.
9+
10+
To manage the diffusion of a new value we used a 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.
1011

1112
# User interface
1213

1314
![ClassUpdate](https://raw.githubusercontent.com/ISTIC-M2-ILa-GM/aodp/dev/spec/img/gui.png)
1415

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+
An user can change the different diffusion with the help of the radio buttons. The user can also generate a new value and see how each monitor will display them.
17+
1618
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.
19+
20+
Each monitor use the two same scheduler (one scheduler for update and one other 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.
1821

1922
# Architecture
2023

2124
## Diagrams
2225

2326
The main representation of these diagrams are the active object pattern, all others patterns aren't displayed.
2427

25-
We have represent the workflow with 3 diagrams on different point of view:
28+
We have represent the workflow with diagrams on different point of view:
2629
* from the generator,
2730
* from the scheduler,
2831
* from the monitor.
@@ -45,7 +48,7 @@ We have represent the workflow with 3 diagrams on different point of view:
4548

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

48-
* Design pattern used: active object, strategy, observer, memento, factory and facade.
51+
We also used different design pattern likes active object, strategy, observer, memento, factory, and facade.
4952

5053
## Technology
5154

@@ -69,6 +72,10 @@ Part of this project is developed using test driven development (TDD) and pair p
6972
## Start
7073

7174
Main class: fr.istic.gm.aodp.Main
75+
76+
Or with a jar:
77+
78+
java -jar aodp.jar
7279

7380
### Features done
7481

@@ -85,4 +92,6 @@ Part of this project is developed using test driven development (TDD) and pair p
8592
## Conclusion
8693

8794
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.
95+
We also learned to make an interface with JavaFX.
96+
97+
We also learned how the active object is, by default, integrate in the language API. This project also help us to investigate some race condition and to keep in mind that it can be difficult to found this sort of error.

0 commit comments

Comments
 (0)