Update README.md

This commit is contained in:
Petrutiu Mihai
2016-07-14 11:04:36 +03:00
committed by Petrutiu Mihai
parent 55099fdfa4
commit b91ad81b68

View File

@@ -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