Main Page   File List   File Members   Related Pages  

frdi_server_messages.c File Reference

send and receive messages on host and client connections. More...

#include "frdi_server.h"

Functions

void frdiServerClientMessageRecieve (frdi_server_app *self, frdi_server_host *host, frdi_server_client *client, frdi_message *message)
void * frdiServerHostMessageRecieve (frdi_server_app *self, frdi_server_host *host, frdi_message *message)
void frdiServerHostMsU (frdi_server_app *self, frdi_server_host *host, frdi_message *old_message)
void frdiServerClientMsU (frdi_server_app *self, frdi_server_client *client, frdi_message *old_message)
void frdiServerTellClientStop (frdi_server_app *self, frdi_server_client *client)
void frdiServerTellHostStop (frdi_server_app *self, frdi_server_host *host)
void frdiServerTellAllStop (frdi_server_app *self)
void frdiServerTellAllStopped (frdi_server_app *self)


Detailed Description

send and receive messages on host and client connections.

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

Function Documentation

void frdiServerClientMessageRecieve frdi_server_app *    self,
frdi_server_host *    host,
frdi_server_client *    client,
frdi_message *    message
 

recieve a message from a server-client connection

void* frdiServerHostMessageRecieve frdi_server_app *    self,
frdi_server_host *    host,
frdi_message *    message
 

recieve a message from a server-host connection D Description F Find G Game K Keepalive L Link R Remote U Unknown

void frdiServerHostMsU frdi_server_app *    self,
frdi_server_host *    host,
frdi_message *    old_message
 

send a U type message along a host-server connection

void frdiServerClientMsU frdi_server_app *    self,
frdi_server_client *    client,
frdi_message *    old_message
 

send a U type message along a client-server connection

void frdiServerTellClientStop frdi_server_app *    self,
frdi_server_client *    client
 

tell a client connection that they are closing (inform the host connection if one is relevant)

void frdiServerTellHostStop frdi_server_app *    self,
frdi_server_host *    host
 

tell a host connection (and any related client connections) that they are closing

void frdiServerTellAllStop frdi_server_app *    self
 

tell all connections (client and host) that they are closing

void frdiServerTellAllStopped frdi_server_app *    self
 

tell any connections (client and host) that still need telling that they have closed

Note: relies on a particular undocumented behaviour of frdiDictValues that removing one item from the dict does not change the order the rest of the values will be returned when it is next called


Generated on Wed Aug 18 13:24:06 2004 for Project Fairdice by doxygen1.2.18