/[H7]/branches/linux-serial/server/serverthread.h
ViewVC logotype

Annotation of /branches/linux-serial/server/serverthread.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70 - (hide annotations) (download)
Wed Feb 7 08:03:48 2007 UTC (17 years, 4 months ago) by torben
File MIME type: text/plain
File size: 335 byte(s)
Split a tcp package into multiple requests


1 torben 67 #pragma once
2    
3     #include <list>
4 torben 69 #include <string>
5 torben 67 #include <cppsocket/tcpconnection.h>
6     #include "thread.h"
7    
8     class ServerThread : public Thread
9     {
10 torben 69 std::list<CPPSocket::TCPConnection*> mClients;
11 torben 70 void parsePackage(std::string str, CPPSocket::TCPConnection& conn);
12 torben 67 public:
13     ServerThread();
14     virtual ~ServerThread();
15    
16     void operator()();
17     };

  ViewVC Help
Powered by ViewVC 1.1.20