QXmlRPC  1.1
server_private.h
1 // vim:tabstop=4:shiftwidth=4:expandtab:cinoptions=(s,U1,m1
2 // Copyright (C) 2005 Dmitry Poplavsky <dima@thekompany.com>
3 
4 #ifndef XMLRPC_SERVER_PRIVATE_H
5 #define XMLRPC_SERVER_PRIVATE_H
6 
7 #include <QTcpServer>
8 #include <QPointer>
9 
10 #include "variant.h"
11 
12 namespace xmlrpc {
13 
14 class Server;
15 
16 //For internal use by xmlrpc::Serevr
17 //It collects data from one connection, and calls parent->processRequest()
18 class IncomingConnection : public QObject
19 {
20 Q_OBJECT
21 public:
22  IncomingConnection(Server *parent, QTcpSocket *socket );
23 public slots:
24  void readData();
25 private:
26  Server *server;
27  QPointer<QTcpSocket> socket;
28  QByteArray data;
29 };
30 
31 
32 
33 } // namespace
34 
35 #endif // XMLRPC_SERVER_H
36 
37 
The xmlrpc::Server class provides an implementation of the XML-RPC server.
Definition: server.h:18
Definition: server_private.h:18
Definition: client.cpp:15