MMSTCPServer Class Reference

#include <mmstcpserver.h>

Inheritance diagram for MMSTCPServer:

List of all members.


Public Member Functions

 MMSTCPServer (vector< MMSServerInterface * > interfaces, string host="0.0.0.0", unsigned int port=9999, string identity="MMSTCPServer")
 MMSTCPServer (MMSServerInterface *interface, string host="0.0.0.0", unsigned int port=9999, string identity="MMSTCPServer")
virtual void threadMain ()
 Virtual main method for the thread.

Private Attributes

vector< MMSTCPServerThread * > sthreads
unsigned int st_size
unsigned int st_cnt
string host
string hostip
unsigned int port
int s

Detailed Description

Definition at line 40 of file mmstcpserver.h.


Constructor & Destructor Documentation

MMSTCPServer::MMSTCPServer ( vector< MMSServerInterface * >  interfaces,
string  host = "0.0.0.0",
unsigned int  port = 9999,
string  identity = "MMSTCPServer" 
)

Definition at line 42 of file mmstcpserver.cpp.

MMSTCPServer::MMSTCPServer ( MMSServerInterface interface,
string  host = "0.0.0.0",
unsigned int  port = 9999,
string  identity = "MMSTCPServer" 
)

Definition at line 57 of file mmstcpserver.cpp.


Member Function Documentation

void MMSTCPServer::threadMain (  )  [virtual]

Virtual main method for the thread.

This virtual method is empty and have to be setup with code by a derived class. The MMSThread class is only the base class and cannot be constructed.

Implements MMSThread.

Definition at line 71 of file mmstcpserver.cpp.


Member Data Documentation

Definition at line 42 of file mmstcpserver.h.

unsigned int MMSTCPServer::st_size [private]

Definition at line 43 of file mmstcpserver.h.

unsigned int MMSTCPServer::st_cnt [private]

Definition at line 44 of file mmstcpserver.h.

string MMSTCPServer::host [private]

Definition at line 45 of file mmstcpserver.h.

string MMSTCPServer::hostip [private]

Definition at line 46 of file mmstcpserver.h.

unsigned int MMSTCPServer::port [private]

Definition at line 47 of file mmstcpserver.h.

int MMSTCPServer::s [private]

Definition at line 48 of file mmstcpserver.h.


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