forest-net
an overlay networks for large-scale virtual worlds
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
SqlProxy Class Reference

Public Member Functions

void run (uint32_t)
 main run method, takes in finTime
 
bool init (ipa_t, ipa_t, char *, char *, char *, char *)
 initialize sockets
 

Public Attributes

ipa_t extIp
 address for tcp connections from "external" hosts
 
ipa_t intIp
 
mysqlpp::Connection * sqlconn
 
int tcpSockInt
 Listen for connections on internal ip.
 
int tcpSockExt
 Listen for connections on external ip.
 
int sqlSock
 Avatar connection socket.
 

Static Public Attributes

static const int LISTEN_PORT = 30190
 TCP port to listen for avatars on.
 
static const int UPDATE_PERIOD = 50
 

Detailed Description

Definition at line 7 of file SqlProxy.h.


The documentation for this class was generated from the following files: