Created
June 22, 2013 00:01
-
-
Save jmhertlein/5835225 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client connects to server | |
<authentication happens> | |
client writes a RemoteAction enum to signal what it wants to do (ADD_PLAYER, REMOVE_PLAYER, etc) | |
server reads enum, uses a big switch-case to direct flow to appropriate method | |
in the appropriate method, server reads in "arguments" for action one by one, as client sends them | |
server executes the action once it has all its input | |
server communicates back exit status |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment