1:
2:
3: /*************
4: * *
5: * SENTINEL *
6: * *
7: *************/
8:
9:
10: #ifndef WWWI_MIND_REQUESTWORKER_H
11: #define WWWI_MIND_REQUESTWORKER_H
12:
13:
14: /*********************
15: * *
16: * PROJECT INCLUDES *
17: * *
18: *********************/
19:
20:
21: #include "mind.h"
22: #include "dnspacket.h"
23: #include "dnssocket.h"
24: #include "resolver.h"
25:
26:
27: /************************
28: * *
29: * CLASS REQUESTWORKER *
30: * *
31: ************************/
32:
33:
34: class RequestWorker {
35: public:
36: RequestWorker(DNSSocketPtr i_dspClients);
37: bool Wait(void);
38: void Work(void);
39:
40: protected:
41: ResolverPtr m_rvp;
42: DNSPacketPtr m_dppClient;
43: DNSSocketPtr m_dspClients;
44: };
45:
46:
47: /************
48: * *
49: * THE END *
50: * *
51: ************/
52:
53:
54: #endif
55: