List of all members |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Private Attributes
PlayerTCP Class Reference
Collaboration diagram for PlayerTCP:

Public Member Functions | |
void | Lock () |
void | Unlock () |
int | Listen (int *ports, int num_ports, int *new_ports=NULL) |
int | Listen (int port) |
QueuePointer | AddClient (struct sockaddr_in *cliaddr, unsigned int local_host, unsigned int local_port, int newsock, bool send_banner, int *kill_flag, bool have_lock) |
QueuePointer | AddClient (struct sockaddr_in *cliaddr, unsigned int local_host, unsigned int local_port, int newsock, bool send_banner, int *kill_flag, bool have_lock, QueuePointer queue) |
int | Update (int timeout) |
int | Accept (int timeout) |
void | Close (int cli) |
int | ReadClient (int cli) |
int | ReadClient (QueuePointer q) |
int | Read (int timeout, bool have_lock) |
int | Write (bool have_lock) |
int | WriteClient (int cli) |
void | DeleteClients () |
void | ParseBuffer (int cli) |
int | HandlePlayerMessage (int cli, Message *msg) |
void | DeleteClient (QueuePointer &q, bool have_lock) |
bool | Listening (int port) |
uint32_t | GetHost () |
Static Public Member Functions | |
static void | InitGlobals (void) |
Public Attributes | |
pthread_t | thread |
The documentation for this class was generated from the following file: