#include "xcom/xcom_limits.h"
#include "xdr_gen/xcom_vp.h"
Go to the source code of this file.
◆ DETECTOR_LIVE_TIMEOUT
#define DETECTOR_LIVE_TIMEOUT 5.0 |
◆ detector_state
◆ init_detector()
◆ invalidate_detector_sites()
void invalidate_detector_sites |
( |
struct site_def * |
site | ) |
|
◆ is_server_connected()
int is_server_connected |
( |
struct site_def const * |
site, |
|
|
node_no |
node |
|
) |
| |
States if a server is still physically connected to another server.
This will test the connection state to that node.
- Parameters
-
site | site definition that contains the server collections. |
node | node index that we want to test for connectivity |
- Returns
- 1 if the server is connected. 0 otherwise.
◆ may_be_dead()
int may_be_dead |
( |
detector_state const |
ds, |
|
|
node_no |
i, |
|
|
double |
seconds |
|
) |
| |
◆ note_detected()
int note_detected |
( |
struct site_def const * |
site, |
|
|
node_no |
node |
|
) |
| |
◆ send_global_view()
void send_global_view |
( |
| ) |
|
◆ update_detected()
void update_detected |
( |
struct site_def * |
site | ) |
|