Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Design client/daemon communication protocol #3

Open
tomplast opened this issue Aug 13, 2012 · 0 comments
Open

Design client/daemon communication protocol #3

tomplast opened this issue Aug 13, 2012 · 0 comments
Labels
Milestone

Comments

@tomplast
Copy link
Owner

  • UML describing the communication flow.

  • Client-Server Commands:

    Version independent:

    • Ping/Pong: Client sends "PING" and server answers with "PONG" and it's version, i.e "PONG 0.0.1".
    • Huh?: The server responds with "Huh?" when received command can't be interpreted.

    Version dependent:
    For version dependent commands, all data are sent as an serialized object. The class looks like this:

class ComObject:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant