Update README.md
This commit is contained in:
committed by
Petrutiu Mihai
parent
55099fdfa4
commit
b91ad81b68
@@ -214,8 +214,10 @@ Mediator class diagram, while it is hard to make a generic one, as it can vary,
|
||||
* Don't know
|
||||
|
||||
### f. Examples
|
||||
[StockExchangeMediator]: https://github.com/MihaiTheCoder/BehavioralPatterns/blob/master/BehavioralPatternsDiagrams/Mediator/AirTraficControllerClassDiagram.PNG "stock exchange mediator class diagram"
|
||||
* StockExchange example: Starting class: StockExchange.StockExchangeExample
|
||||
* Have multiple traders Buy/Sell actions from stock exchange (simplified)
|
||||
* Classs diagram: ![alt text][StockExchangeMediator]
|
||||
* Ground-Air traffic control example: Starting class: GroupAirTrafficControl.GroundAirTrafficControlExample
|
||||
* Have 4 planes that want to land on an airport, the airport has 4 lines (one not working).
|
||||
They all talk to air traffic control(mediator) to ask permission to land, instead of talking to each other
|
||||
|
||||
Reference in New Issue
Block a user