Advanced Strategic Command
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
PBEMServer Class Reference

#include <pbem-server.h>

Inheritance diagram for PBEMServer:
Inheritance graph
[legend]

Public Member Functions

 PBEMServer ()
 
void setup ()
 
void send (const GameMap *map, int lastPlayer, int lastturn)
 
GameMapreceive ()
 
ASCString getMechanismID () const
 
void setServerAddress (const ASCString &address)
 
- Public Member Functions inherited from GameTransferMechanism
void write (tnstream &stream) const
 
virtual ~GameTransferMechanism ()
 

Static Public Member Functions

static ASCString mechanismID ()
 
static ASCString getDefaultServerAddress ()
 
- Static Public Member Functions inherited from GameTransferMechanism
static GameTransferMechanismread (tnstream &stream)
 

Protected Member Functions

void readChildData (tnstream &stream)
 
void writeChildData (tnstream &stream) const
 
ASC_PBEMgetSession ()
 

Detailed Description

Definition at line 30 of file pbem-server.h.

Constructor & Destructor Documentation

PBEMServer::PBEMServer ( )

Definition at line 31 of file pbem-server-dummy.cpp.

Member Function Documentation

ASCString PBEMServer::getDefaultServerAddress ( )
static

Definition at line 32 of file pbem-server-dummy.cpp.

ASCString PBEMServer::getMechanismID ( ) const
inlinevirtual

Implements GameTransferMechanism.

Definition at line 48 of file pbem-server.h.

References mechanismID().

ASC_PBEM * PBEMServer::getSession ( )
protected
static ASCString PBEMServer::mechanismID ( )
inlinestatic

Definition at line 49 of file pbem-server.h.

Referenced by getMechanismID().

void PBEMServer::readChildData ( tnstream stream)
protectedvirtual

Implements GameTransferMechanism.

Definition at line 38 of file pbem-server-dummy.cpp.

References warningMessage().

GameMap * PBEMServer::receive ( )
virtual

Implements GameTransferMechanism.

Definition at line 59 of file pbem-server-dummy.cpp.

References warningMessage().

void PBEMServer::send ( const GameMap map,
int  lastPlayer,
int  lastturn 
)
virtual

Implements GameTransferMechanism.

Definition at line 53 of file pbem-server-dummy.cpp.

References warningMessage().

void PBEMServer::setServerAddress ( const ASCString address)

Definition at line 33 of file pbem-server-dummy.cpp.

References warningMessage().

Referenced by StartMultiplayerGame::Apply().

void PBEMServer::setup ( void  )
virtual

Implements GameTransferMechanism.

Definition at line 48 of file pbem-server-dummy.cpp.

References warningMessage().

void PBEMServer::writeChildData ( tnstream stream) const
protectedvirtual

Implements GameTransferMechanism.

Definition at line 43 of file pbem-server-dummy.cpp.

References warningMessage().


The documentation for this class was generated from the following files: