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

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

Parent Directory Parent Directory | Revision Log Revision Log


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


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

  ViewVC Help
Powered by ViewVC 1.1.20