ServerHaveModFilesHandler Class Reference

#include <ServerHaveModFilesHandler.h>

Inheritance diagram for ServerHaveModFilesHandler:

ComsMessageHandlerI

List of all members.

Public Member Functions

virtual bool processMessage (NetMessage &message, const char *messageType, NetBufferReader &reader)

Static Public Member Functions

static
ServerHaveModFilesHandler
instance ()

Private Member Functions

 ServerHaveModFilesHandler ()
virtual ~ServerHaveModFilesHandler ()


Detailed Description

Definition at line 26 of file ServerHaveModFilesHandler.h.


Constructor & Destructor Documentation

ServerHaveModFilesHandler::ServerHaveModFilesHandler (  )  [private]

Definition at line 41 of file ServerHaveModFilesHandler.cpp.

References ComsMessageHandler::addHandler(), ScorchedContext::getComsMessageHandler(), and ScorchedServer::instance().

ServerHaveModFilesHandler::~ServerHaveModFilesHandler (  )  [private, virtual]

Definition at line 48 of file ServerHaveModFilesHandler.cpp.


Member Function Documentation

ServerHaveModFilesHandler * ServerHaveModFilesHandler::instance (  )  [static]

Definition at line 34 of file ServerHaveModFilesHandler.cpp.

Referenced by startServer().

bool ServerHaveModFilesHandler::processMessage ( NetMessage message,
const char *  messageType,
NetBufferReader reader 
) [virtual]

Implements ComsMessageHandlerI.

Definition at line 52 of file ServerHaveModFilesHandler.cpp.

References TankMod::addFile(), ModIdentifierEntry::crc, S3D::dialogExit(), S3D::formatStringBuffer(), ModFileEntry::getCompressedCrc(), ModFileEntry::getCompressedSize(), Tank::getDestinationId(), NetMessage::getDestinationId(), ComsHaveModFilesMessage::getFile(), ModFileEntry::getFileName(), ModFiles::getFiles(), Tank::getMod(), ScorchedContext::getModFiles(), TankContainer::getPlayingTanks(), ScorchedContext::getTankContainer(), ServerChannelManager::instance(), ScorchedServer::instance(), int(), ServerCommon::kickDestination(), ModIdentifierEntry::length, Logger::log(), ComsHaveModFilesMessage::readMessage(), ServerChannelManager::sendText(), ServerCommon::serverLog(), TankMod::setInit(), and TankMod::setTotalLeft().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:06 2009 for Scorched3D by  doxygen 1.5.3