MMSTCPServerThread Class Reference

#include <mmstcpserverthread.h>

Inheritance diagram for MMSTCPServerThread:

List of all members.


Public Member Functions

 MMSTCPServerThread (MMSServerInterface *interface=NULL, int s=-1, string identity="MMSTCPServerThread")
bool setSocket (int s)
virtual void threadMain ()
 Virtual main method for the thread.

Private Attributes

MMSServerInterfaceinterface
int s
string request_buffer
string answer_buffer

Detailed Description

Definition at line 39 of file mmstcpserverthread.h.


Constructor & Destructor Documentation

MMSTCPServerThread::MMSTCPServerThread ( MMSServerInterface interface = NULL,
int  s = -1,
string  identity = "MMSTCPServerThread" 
)

Definition at line 39 of file mmstcpserverthread.cpp.


Member Function Documentation

bool MMSTCPServerThread::setSocket ( int  s  ) 

Definition at line 46 of file mmstcpserverthread.cpp.

void MMSTCPServerThread::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 51 of file mmstcpserverthread.cpp.


Member Data Documentation

int MMSTCPServerThread::s [private]

Definition at line 42 of file mmstcpserverthread.h.

Definition at line 43 of file mmstcpserverthread.h.

Definition at line 44 of file mmstcpserverthread.h.


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