NetBurner 3.5.8
PDF Version
Toggle main menu visibility
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>
11
class
InterfaceBlock
;
12
13
class
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
InterfaceBlock
Network interface configuration block class for interface control and configuration.
Definition
netinterface.h:244
IPADDR
IPADDR6 IPADDR
IPADDR Object Type (either v4 or v6).
Definition
nettypes.h:568
nbrtos
include
discoveryservlet.h
Generated by
1.18.0