#include "frdi_client.h"
Functions | |
void | frdiClientUserMrD (frdi_client_app *self, frdi_client_user *user, frdi_message *message) |
void | frdiClientUserMrF (frdi_client_app *self, frdi_client_user *user, frdi_message *message) |
void | frdiClientUserMrG (frdi_client_app *self, frdi_client_user *user, frdi_message *message) |
void | frdiClientGameSendUser (frdi_client_app *self, frdi_client_game *game, char *str) |
void | frdiClientUserMrK (frdi_client_app *self, frdi_client_user *user, frdi_message *message) |
void | frdiClientUserMrL (frdi_client_app *self, frdi_client_user *user, frdi_message *message) |
void | frdiClientUserMrR (frdi_client_app *self, frdi_client_user *user, frdi_message *message) |
void | frdiClientUserMrU (frdi_client_app *self, frdi_client_user *user, frdi_message *message) |
void | frdiClientUserMrE (frdi_client_app *self, frdi_client_user *user, frdi_message *message, char c) |
|
Fairdice User-Client connection message receive : Description CHALLENGE : D is <description> RESPONSE : none ACTION : set description of user CHALLENGE : D request RESPONSE : D is <description> or RESPONSE : D null ACTION : none |
|
Fairdice User-Client connection message receive : Find CHALLENGE : F set user <userstr> CHALLENGE : F set secret <secret> CHALLENGE : F set server <serverstr> CHALLENGE : F set host <hoststr> RESPONSE : none ACTION : register the string ready for a connection attempt CHALLENGE : F connect RESPONSE : F yes or RESPONSE : F no or RESPONSE : F no <message> ACTION : connect to the server (and host if specified) CHALLENGE : F shutdown RESPONSE : none ACTION : stop the listener, close the application |
|
Fairdice User-Client connection message receive : Game CHALLENGE : G <gamestr> <seperator> <data> RESPONSE : varies ACTION : parse <gamestr> into a frdi_client_game object. pass on to further method |
|
Send str back to the user as a game message |
|
Fairdice User-Client connection message receive : Keepalive CHALLENGE : K null RESPONSE : none ACTION : none CHALLENGE : K ping request <integer> RESPONSE : K ping response <integer> ACTION : none CHALLENGE : K ping response <integer> RESPONSE : none ACTION : record ping delay CHALLENGE : K time request RESPONSE : K time response <timestamp> ACTION : none CHALLENGE : K time response <timestamp> RESPONSE : none ACTION : synch time |
|
Fairdice User-Client connection message receive : Link CHALLENGE : L opening RESPONSE : L opened ACTION : none CHALLENGE : L opened RESPONSE : none ACTION : none CHALLENGE : L closing RESPONSE : L closed ACTION : close this end of link CHALLENGE : L closed RESPONSE : none ACTION : close this end of link |
|
Fairdice User-Client connection message receive : Remote CHALLENGE : R <data> RESPONSE : none ACTION : pass on verbatim along to the client (keeping the R prefix) |
|
Fairdice User-Client connection message receive : Unknown CHALLENGE : U null RESPONSE : none ACTION : report the error CHALLENGE : U <verbatim copy of message server got from us> RESPONSE : none ACTION : report the error |
|
Fairdice User-Client connection message receive : A Mystery CHALLENGE : <unparsable> RESPONSE : U <unparsable> ACTION : report the error |