Odamex
Setting the Standard in Multiplayer Doom
agOdalaunch::MasterServer Class Reference

#include <net_packet.h>

Inheritance diagram for agOdalaunch::MasterServer:
agOdalaunch::ServerBase

Data Structures

struct  addr_t

Public Member Functions

 MasterServer ()
virtual ~MasterServer ()
size_t GetServerCount ()
bool GetServerAddress (const size_t &Index, std::string &Address, uint16_t &Port)
void AddMaster (const std::string &Address, const uint16_t &Port)
void QueryMasters (const uint32_t &Timeout)
size_t GetMasterCount ()
void DeleteAllNormalServers ()
void AddCustomServer (const std::string &Address, const uint16_t &Port)
bool DeleteCustomServer (const size_t &Index)
void DeleteAllCustomServers ()
int32_t Parse ()

Constructor & Destructor Documentation

agOdalaunch::MasterServer::MasterServer ( ) [inline]
virtual agOdalaunch::MasterServer::~MasterServer ( ) [inline, virtual]

Member Function Documentation

void agOdalaunch::MasterServer::AddCustomServer ( const std::string Address,
const uint16_t Port 
) [inline]
void agOdalaunch::MasterServer::AddMaster ( const std::string Address,
const uint16_t Port 
) [inline]
void agOdalaunch::MasterServer::DeleteAllCustomServers ( ) [inline]
void agOdalaunch::MasterServer::DeleteAllNormalServers ( ) [inline]
bool agOdalaunch::MasterServer::DeleteCustomServer ( const size_t &  Index) [inline]
size_t agOdalaunch::MasterServer::GetMasterCount ( ) [inline]
bool agOdalaunch::MasterServer::GetServerAddress ( const size_t &  Index,
std::string Address,
uint16_t Port 
) [inline]
size_t agOdalaunch::MasterServer::GetServerCount ( ) [inline]
int32_t MasterServer::Parse ( ) [virtual]

Reimplemented from agOdalaunch::ServerBase.

void agOdalaunch::MasterServer::QueryMasters ( const uint32_t Timeout) [inline]

The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends