Subject: On uade2 client-server interaction

From: shd
Date: Sun Oct 16 19:06:11 2005

To: UADE-Developer-discussion
I drew a small and fuzzy state diagram about uade2 client-server interaction from client perspective.

Basically it's token passing between client and server. The one who has the token is allowed to send messages. Messages can be commands or other data. Even passing the token is a message. If one doesn't have the token one must receive messages. The philosophy is that the client commands the server, not the opposite way.

When the client has the token, it issues a read request of new sound data to the server. When the server has the token it provides the client with sound data.

It's drawn with Dia, and the specification can be found from the CVS (/uade/doc/*.dia). There's also an eps file on the web:

http://zakalwe.virtuaalipalvelin.net/uade/uade2/play_loop_state_diagram.eps

---

From: shd
Date: Sun Oct 16 19:20:11 2005

To: UADE-Developer-discussion
[quote:a1dd6fd8c2="shd"]
http://zakalwe.virtuaalipalvelin.net/uade/uade2/play_loop_state_diagram.eps[/quote:a1dd6fd8c2]

Some people wanted a png. Here it is:

http://zakalwe.virtuaalipalvelin.net/uade/uade2/play_loop_state_diagram.png