Network Class Reference

#include <Network.h>

List of all members.

Public Types

typedef Packet::uri_t uri_t

Public Member Functions

virtual ~Network ()

Static Public Member Functions

static void SendMessage (const Packet &p, bool reliable=false)
static Packet GetNextEvent ()
static void Flush ()
static void RequestURIs (int num=100, bool force=false)
static uri_t GetURI ()
static bool HasNetwork ()
static bool IsServer ()
static bool Start (int port, const std::string &host="")
static void Stop ()
static int GetURICount ()
static void ClearURIs ()
static void AddURIRange (int start, int stop)
static void URIReInit ()
static void PrintURIRanges ()

Static Protected Member Functions

static void * RecvThread (void *arg)
static void SendMessage (const std::string &msg, bool reliable)
static bool FilterMessage (Packet &p)

Private Member Functions

 Network ()

Static Private Attributes

static bool server
static bool running


Member Typedef Documentation

typedef Packet::uri_t Network::uri_t


Constructor & Destructor Documentation

Network::Network (  )  [private]

virtual Network::~Network (  )  [inline, virtual]


Member Function Documentation

static void Network::AddURIRange ( int  start,
int  stop 
) [static]

static void Network::ClearURIs (  )  [static]

static bool Network::FilterMessage ( Packet p  )  [static, protected]

static void Network::Flush (  )  [static]

static Packet Network::GetNextEvent (  )  [static]

static uri_t Network::GetURI (  )  [static]

static int Network::GetURICount (  )  [static]

static bool Network::HasNetwork (  )  [inline, static]

static bool Network::IsServer (  )  [inline, static]

static void Network::PrintURIRanges (  )  [static]

static void* Network::RecvThread ( void *  arg  )  [static, protected]

static void Network::RequestURIs ( int  num = 100,
bool  force = false 
) [static]

static void Network::SendMessage ( const std::string &  msg,
bool  reliable 
) [static, protected]

static void Network::SendMessage ( const Packet p,
bool  reliable = false 
) [static]

static bool Network::Start ( int  port,
const std::string &  host = "" 
) [static]

static void Network::Stop (  )  [static]

static void Network::URIReInit (  )  [static]


Member Data Documentation

bool Network::running [static, private]

bool Network::server [static, private]


The documentation for this class was generated from the following file:
Generated on Sun Mar 11 15:33:26 2007 for MetalWarriors by  doxygen 1.4.7