#include <mmstcpserverthread.h>
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 | |
MMSServerInterface * | interface |
int | s |
string | request_buffer |
string | answer_buffer |
Definition at line 39 of file mmstcpserverthread.h.
MMSTCPServerThread::MMSTCPServerThread | ( | MMSServerInterface * | interface = NULL , |
|
int | s = -1 , |
|||
string | identity = "MMSTCPServerThread" | |||
) |
Definition at line 39 of file mmstcpserverthread.cpp.
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.
MMSServerInterface* MMSTCPServerThread::interface [private] |
Definition at line 41 of file mmstcpserverthread.h.
int MMSTCPServerThread::s [private] |
Definition at line 42 of file mmstcpserverthread.h.
string MMSTCPServerThread::request_buffer [private] |
Definition at line 43 of file mmstcpserverthread.h.
string MMSTCPServerThread::answer_buffer [private] |
Definition at line 44 of file mmstcpserverthread.h.