Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

PBEMServer Class Reference

#include <pbem-server.h>

Inheritance diagram for PBEMServer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 PBEMServer ()
void setup ()
void send (const GameMap *map, int lastPlayer, int lastturn)
GameMapreceive ()
ASCString getMechanismID () const
void setServerAddress (const ASCString &address)

Static Public Member Functions

static ASCString mechanismID ()
static ASCString getDefaultServerAddress ()

Protected Member Functions

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

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 [inline, virtual]
 

Implements GameTransferMechanism.

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

References mechanismID().

ASC_PBEM * PBEMServer::getSession  )  [protected]
 

Definition at line 122 of file pbem-server.cpp.

References AuthenticationDialog::getName(), AuthenticationDialog::getPassword(), ASC_PBEM::login(), ASC_PG_Dialog::RunModal(), PG_Widget::Show(), and warning().

static ASCString PBEMServer::mechanismID  )  [inline, static]
 

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

Referenced by getMechanismID().

void PBEMServer::readChildData tnstream stream  )  [protected, virtual]
 

Implements GameTransferMechanism.

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

References warning().

GameMap * PBEMServer::receive  )  [virtual]
 

Implements GameTransferMechanism.

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

References warning().

void PBEMServer::send const GameMap map,
int  lastPlayer,
int  lastturn
[virtual]
 

Implements GameTransferMechanism.

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

References warning().

void PBEMServer::setServerAddress const ASCString address  ) 
 

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

References warning().

void PBEMServer::setup  )  [virtual]
 

Implements GameTransferMechanism.

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

References warning().

void PBEMServer::writeChildData tnstream stream  )  const [protected, virtual]
 

Implements GameTransferMechanism.

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

References warning().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:18:45 2008 for Advanced Strategic Command by  doxygen 1.4.2