Main Page   File List   File Members   Related Pages  

frdi_dummy_host_smr.c File Reference

server message receive More...

#include "frdi_dummy_host.h"

Functions

void frdiHostUserMessageReceive (frdi_host_app *self, frdi_host_server *server, frdi_message *message)
void frdiHostServerMrD (frdi_host_app *self, frdi_host_server *server, frdi_message *message)
void frdiHostServerMrF (frdi_host_app *self, frdi_host_server *server, frdi_message *message)
void frdiHostServerMrG (frdi_host_app *self, frdi_host_server *server, frdi_message *message)
void frdiHostGameSendServer (frdi_host_app *self, frdi_host_game *game, char *str)
void frdiHostServerMrK (frdi_host_app *self, frdi_host_server *server, frdi_message *message)
void frdiHostServerMrL (frdi_host_app *self, frdi_host_server *server, frdi_message *message)
void frdiHostServerMrR (frdi_host_app *self, frdi_host_server *server, frdi_message *message)
void frdiHostServerMrU (frdi_host_app *self, frdi_host_server *server, frdi_message *message)
void frdiHostServerMrE (frdi_host_app *self, frdi_host_server *server, frdi_message *message, char c)


Detailed Description

server message receive

Author:
Douglas Reay <douglas-legal@reay.org>
Warning:

Function Documentation

void frdiHostUserMessageReceive frdi_host_app *    self,
frdi_host_server *    server,
frdi_message *    message
 

We have received a message from the user!

void frdiHostServerMrD frdi_host_app *    self,
frdi_host_server *    server,
frdi_message *    message
 

Fairdice Host-Server connection message receive : Description CHALLENGE : D is <description> RESPONSE : none ACTION : set description of server

CHALLENGE : D request RESPONSE : D is <description> or RESPONSE : D null ACTION : none

void frdiHostServerMrF frdi_host_app *    self,
frdi_host_server *    server,
frdi_message *    message
 

Fairdice Host-Server connection message receive : Find CHALLENGE : F varies RESPONSE : varies ACTION : varies

void frdiHostServerMrG frdi_host_app *    self,
frdi_host_server *    server,
frdi_message *    message
 

Fairdice Host-Server connection message receive : Game

CHALLENGE : G <gamestr> <seperator> <data> RESPONSE : varies ACTION : parse <gamestr> into a frdi_host_game object. pass on to further method

void frdiHostGameSendServer frdi_host_app *    self,
frdi_host_game *    game,
char *    str
 

Send str back to the server as a game message

void frdiHostServerMrK frdi_host_app *    self,
frdi_host_server *    server,
frdi_message *    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

void frdiHostServerMrL frdi_host_app *    self,
frdi_host_server *    server,
frdi_message *    message
 

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

void frdiHostServerMrR frdi_host_app *    self,
frdi_host_server *    server,
frdi_message *    message
 

Fairdice Host-Server connection message receive : Remote

CHALLENGE : R <data> RESPONSE : none ACTION : this is a message sent to us by a host

void frdiHostServerMrU frdi_host_app *    self,
frdi_host_server *    server,
frdi_message *    message
 

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

void frdiHostServerMrE frdi_host_app *    self,
frdi_host_server *    server,
frdi_message *    message,
char    c
 

Fairdice Host-Server connection message receive : A Mystery

CHALLENGE : <unparsable> RESPONSE : U <unparsable> ACTION : report the error


Generated on Wed Aug 18 13:23:54 2004 for Project Fairdice by doxygen1.2.18