00001
00002
00003
00004 #ifndef XMLRPC_SERVER_PRIVATE_H
00005 #define XMLRPC_SERVER_PRIVATE_H
00006
00007 #include <QTcpServer>
00008 #include <QPointer>
00009
00010 #include "variant.h"
00011
00012 namespace xmlrpc {
00013
00014 class Server;
00015
00016
00017
00018 class IncomingConnection : public QObject
00019 {
00020 Q_OBJECT
00021 public:
00022 IncomingConnection(Server *parent, QTcpSocket *socket );
00023 public slots:
00024 void readData();
00025 private:
00026 Server *server;
00027 QPointer<QTcpSocket> socket;
00028 QByteArray data;
00029 };
00030
00031
00032
00033 }
00034
00035 #endif // XMLRPC_SERVER_H
00036
00037