#include "frdi_server.h"
Functions | |
frdi_server_client * | frdiServerGetClientForHost (frdi_server_app *self, frdi_server_host *host, char *client_id) |
void | frdiServerHostMrD (frdi_server_app *self, frdi_server_host *host, frdi_message *message) |
void | frdiServerHostMrF (frdi_server_app *self, frdi_server_host *host, frdi_message *message) |
void | frdiServerHostMrG (frdi_server_app *self, frdi_server_host *host, frdi_message *message) |
void | frdiServerGameSendHost (frdi_server_app *self, frdi_server_game *game, char *str) |
void | frdiServerHostMrK (frdi_server_app *self, frdi_server_host *host, frdi_message *message) |
void | frdiServerHostMrL (frdi_server_app *self, frdi_server_host *host, frdi_message *message) |
void | frdiServerHostMrR (frdi_server_app *self, frdi_server_host *host, frdi_message *message) |
void | frdiServerHostMrU (frdi_server_app *self, frdi_server_host *host, frdi_message *message) |
void | frdiServerHostMrE (frdi_server_app *self, frdi_server_host *host, frdi_message *message, char c) |
|
look up client from client_id |
|
Fairdice Host-Server connection message receive : Description CHALLENGE : D is <description> RESPONSE : none ACTION : set description of host CHALLENGE : D request RESPONSE : D is <description> or RESPONSE : D null ACTION : none |
|
Fairdice Host-Server connection message receive : Find CHALLENGE : F set host <hoststr> CHALLENGE : F set secret <secret> RESPONSE : none ACTION : register the strings |
|
Fairdice Host-Server connection message receive : Game CHALLENGE : G <gamestr> <seperator> <data> RESPONSE : varies ACTION : parse <gamestr> into a frdi_server_game object. pass on to further method |
|
Send str back to the host as a game message |
|
Fairdice Host-Server 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 Host-Server 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 Host-Server connection message receive : Remote CHALLENGE : R <data> RESPONSE : none ACTION : pass on verbatim along to the server (keeping the R prefix) |
|
Fairdice Host-Server 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 Host-Server connection message receive : A Mystery CHALLENGE : <unparsable> RESPONSE : U <unparsable> ACTION : report the error |