docs: Improve thread communication diagram with some missing notes and interactions
This commit is contained in:
parent
7c51e75ee1
commit
dde696ba33
BIN
docs/_static/thread_communication.png
vendored
BIN
docs/_static/thread_communication.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 47 KiB |
7
docs/_static/thread_communication.txt
vendored
7
docs/_static/thread_communication.txt
vendored
@ -12,9 +12,10 @@ activate despotify
|
||||
MpdHandler/Backend -> Main: ready
|
||||
Main -> MpdServer/MpdSession: start
|
||||
activate MpdServer/MpdSession
|
||||
note over MpdServer/MpdSession: opens port
|
||||
note over MpdServer/MpdSession: open port
|
||||
MpdServer/MpdSession -> Main: ready
|
||||
Client -> MpdServer/MpdSession: connect
|
||||
note over MpdServer/MpdSession: open session
|
||||
Client -> MpdServer/MpdSession: play 1
|
||||
MpdServer/MpdSession -> MpdHandler/Backend: play 1
|
||||
MpdHandler/Backend -> despotify: play first track
|
||||
@ -29,4 +30,8 @@ MpdHandler/Backend -> MpdServer/MpdSession: status response
|
||||
MpdServer/MpdSession -> Client: status response
|
||||
despotify -> MpdHandler/Backend: end of track callback
|
||||
MpdHandler/Backend -> despotify: play second track
|
||||
Client -> MpdServer/MpdSession: stop
|
||||
MpdServer/MpdSession -> MpdHandler/Backend: stop
|
||||
MpdHandler/Backend -> despotify: stop
|
||||
Client -> MpdServer/MpdSession: disconnect
|
||||
note over MpdServer/MpdSession: close session
|
||||
|
||||
Loading…
Reference in New Issue
Block a user