NetBurner 3.5.0
PDF Version
 
discoveryservlet.h
1
2/*NB_REVISION*/
3
4/*NB_COPYRIGHT*/
5
6#ifndef DISCO_SERVLET
7#define DISCO_SERVLET
8
9#include <nbstring.h>
10#include <servlets.h>
11class InterfaceBlock;
12
13class discover_servlet : public servlet
14{
15 uint16_t state;
16 int16_t sub_state;
17 int16_t v; // Temp value
18 int16_t result;
19 InterfaceBlock *m_pIfb;
20 int m_fd;
21
22 uint32_t LastValidResponse;
23 uint32_t LastAttempt;
24 IPADDR ServerAddress;
25
26 virtual int AddToSelectSet(fd_set &rd_set, fd_set &wr_set, fd_set &er_set);
27 virtual void ProcessSelectResult(fd_set &rd_set, fd_set &wr_set, fd_set &er_set);
28 void FillInName(NBString &ns);
29 int GetInterval();
30
31 public:
32 discover_servlet(InterfaceBlock *ib);
33 bool Started();
34};
35
36#endif
Used to hold and manipulate IPv4 and IPv6 addresses in dual stack mode.
Definition ipv6_addr.h:41
Network interface configuration block class for interface control and configuration.
Definition netinterface.h:245
Lightweight alternative to C++ CString class.
Definition nbstring.h:118
NetBurner String Class.