finicu212

Untitled

Nov 11th, 2022 (edited)
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. @startuml
  2.  
  3. title "Filters Sequence Diagram"
  4.  
  5. actor Connection
  6. control HandlerChain
  7. entity Filter1
  8. entity Filter2
  9. entity Filter3
  10. control UploadControl
  11. database Remote
  12.  
  13. Connection -> HandlerChain: chain.setNext(f1).sn(f2).sn(f3)
  14. HandlerChain -> Filter1: setNext(f1)
  15. Filter1 -> Filter2: setNext(f2)
  16. Filter2 -> Filter3: setNext(f3)
  17. Filter3 -> HandlerChain: <<built chain>>
  18.  
  19. Connection -> HandlerChain: handle()
  20. HandlerChain -> Filter1: handle()
  21. Filter1 -> Filter2: handle()
  22. Filter2 -> Filter3: handle()
  23. Filter3 -> HandlerChain: <<filtered data>>
  24. HandlerChain -> Connection: <<data>>
  25.  
  26. Connection -> UploadControl: upload()
  27. UploadControl -> Remote: <<data>>
  28.  
  29. Remote ->o Connection: <<success>>
  30.  
  31. @enduml
Advertisement
Add Comment
Please, Sign In to add comment