Main Page   File List   File Members   Related Pages  

frdi_dummy_user_cmr.c File Reference

client message receive More...

#include "frdi_dummy_user.h"

Functions

void frdiUserHostMessageReceive (frdi_user_app *self, frdi_user_client *client, frdi_message *message)
void frdiUserClientMrD (frdi_user_app *self, frdi_user_client *client, frdi_message *message)
void frdiUserClientMrF (frdi_user_app *self, frdi_user_client *client, frdi_message *message)
void frdiUserClientMrG (frdi_user_app *self, frdi_user_client *client, frdi_message *message)
void frdiUserGameSendClient (frdi_user_app *self, frdi_user_game *game, char *str)
void frdiUserClientMrK (frdi_user_app *self, frdi_user_client *client, frdi_message *message)
void frdiUserClientMrL (frdi_user_app *self, frdi_user_client *client, frdi_message *message)
void frdiUserClientMrR (frdi_user_app *self, frdi_user_client *client, frdi_message *message)
void frdiUserClientMrU (frdi_user_app *self, frdi_user_client *client, frdi_message *message)
void frdiUserClientMrE (frdi_user_app *self, frdi_user_client *client, frdi_message *message, char c)


Detailed Description

client message receive

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

Function Documentation

void frdiUserHostMessageReceive frdi_user_app *    self,
frdi_user_client *    client,
frdi_message *    message
 

We have received a message from the host!

void frdiUserClientMrD frdi_user_app *    self,
frdi_user_client *    client,
frdi_message *    message
 

Fairdice User-Client connection message receive : Description CHALLENGE : D is <description> RESPONSE : none ACTION : set description of client

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

void frdiUserClientMrF frdi_user_app *    self,
frdi_user_client *    client,
frdi_message *    message
 

Fairdice User-Client connection message receive : Find CHALLENGE : F yes RESPONSE : none ACTION : we are now connected

CHALLENGE : F no RESPONSE : none ACTION : connection attempt failed

CHALLENGE : F no <message> RESPONSE : none ACTION : connection attempt failed - report error

void frdiUserClientMrG frdi_user_app *    self,
frdi_user_client *    client,
frdi_message *    message
 

Fairdice User-Client connection message receive : Game

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

void frdiUserGameSendClient frdi_user_app *    self,
frdi_user_game *    game,
char *    str
 

Send str back to the client as a game message

void frdiUserClientMrK frdi_user_app *    self,
frdi_user_client *    client,
frdi_message *    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

void frdiUserClientMrL frdi_user_app *    self,
frdi_user_client *    client,
frdi_message *    message
 

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

void frdiUserClientMrR frdi_user_app *    self,
frdi_user_client *    client,
frdi_message *    message
 

Fairdice User-Client connection message receive : Remote

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

void frdiUserClientMrU frdi_user_app *    self,
frdi_user_client *    client,
frdi_message *    message
 

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

void frdiUserClientMrE frdi_user_app *    self,
frdi_user_client *    client,
frdi_message *    message,
char    c
 

Fairdice User-Client connection message receive : A Mystery

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


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