#include <networkinterface.h>
Inheritance diagram for GameTransferMechanism:

Public Member Functions | |
| virtual void | setup ()=0 |
| virtual void | send (const GameMap *map, int lastPlayer, int lastturn)=0 |
| virtual GameMap * | receive ()=0 |
| void | write (tnstream &stream) const |
| virtual ASCString | getMechanismID () const=0 |
| virtual | ~GameTransferMechanism () |
Static Public Member Functions | |
| static GameTransferMechanism * | read (tnstream &stream) |
Protected Member Functions | |
| virtual void | readChildData (tnstream &stream)=0 |
| virtual void | writeChildData (tnstream &stream) const=0 |
Definition at line 33 of file networkinterface.h.
| virtual GameTransferMechanism::~GameTransferMechanism | ( | ) | [inline, virtual] |
Definition at line 44 of file networkinterface.h.
| virtual void GameTransferMechanism::readChildData | ( | tnstream & | stream | ) | [protected, pure virtual] |
| virtual void GameTransferMechanism::writeChildData | ( | tnstream & | stream | ) | const [protected, pure virtual] |
| virtual void GameTransferMechanism::setup | ( | ) | [pure virtual] |
Implemented in PBEMServer, and FileTransfer.
| virtual void GameTransferMechanism::send | ( | const GameMap * | map, | |
| int | lastPlayer, | |||
| int | lastturn | |||
| ) | [pure virtual] |
| virtual GameMap* GameTransferMechanism::receive | ( | ) | [pure virtual] |
Implemented in PBEMServer, and FileTransfer.
| GameTransferMechanism * GameTransferMechanism::read | ( | tnstream & | stream | ) | [static] |
Definition at line 25 of file networkinterface.cpp.
References readChildData(), tnstream::readInt(), and tnstream::readString().
Referenced by GameMap::read().
| void GameTransferMechanism::write | ( | tnstream & | stream | ) | const |
Definition at line 34 of file networkinterface.cpp.
References getMechanismID(), writeChildData(), tnstream::writeInt(), and tnstream::writeString().
Referenced by GameMap::write().
| virtual ASCString GameTransferMechanism::getMechanismID | ( | ) | const [pure virtual] |
1.5.1