proxy.txt 481 B

12345678910111213141516171819202122232425262728293031323334
  1. @startuml
  2. /' PROXY '/
  3. class Client
  4. interface Subject {
  5. # request()
  6. }
  7. class RealSubject {
  8. + request()
  9. }
  10. class Proxy {
  11. - private_subject
  12. + request()
  13. }
  14. hide empty members
  15. Subject <|-- RealSubject
  16. Subject <|-- Proxy
  17. RealSubject <- Proxy : représentation de
  18. Client --> Proxy
  19. note as N1
  20. <b><color:royalBlue>Proxy</color></b>
  21. <b>Type:</b> Structural
  22. Encapsule un objet - en mode mirroir et
  23. respecte le même contrat que celui-ci.
  24. end note
  25. @enduml