The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
_HbListener Struct Reference

This is the base HbListener class. object - which listens for heartbeats from a particular sender. More...

#include <hblistener.h>

Collaboration diagram for _HbListener:

Data Fields

Listener baseclass
 
guint64(* get_deadtime )(HbListener *)
 Retrieve deadtime. More...
 
void(* set_deadtime )(HbListener *, guint64)
 Set deadtime. More...
 
guint64(* get_warntime )(HbListener *)
 Retrieve warntime. More...
 
void(* set_warntime )(HbListener *, guint64)
 Set warntime. More...
 
void(* set_heartbeat_callback )(HbListener *, void(*)(HbListener *who))
 
void(* set_deadtime_callback )(HbListener *, void(*)(HbListener *who))
 
void(* set_warntime_callback )(HbListener *, void(*)(HbListener *who, guint64 howlate))
 
void(* set_comealive_callback )(HbListener *, void(*)(HbListener *who, guint64 howlate))
 
void(* _heartbeat_callback )(HbListener *who)
 
void(* _deadtime_callback )(HbListener *who)
 
void(* _warntime_callback )(HbListener *who, guint64 howlate)
 
void(* _comealive_callback )(HbListener *who, guint64 howlate)
 
guint64 _expected_interval
 How often to expect heartbeats. More...
 
guint64 _warn_interval
 When to warn about late heartbeats. More...
 
guint64 nexttime
 When next heartbeat is due. More...
 
guint64 warntime
 Warn heartbeat time. More...
 
NetAddrlistenaddr
 What address are we listening for? More...
 
HbNodeStatus status
 What status is this node in? More...
 

Detailed Description

This is the base HbListener class. object - which listens for heartbeats from a particular sender.

Definition at line 44 of file hblistener.h.

Field Documentation

void(* _HbListener::_comealive_callback)(HbListener *who, guint64 howlate)

Definition at line 57 of file hblistener.h.

Referenced by _hblistener_got_frameset().

void(* _HbListener::_deadtime_callback)(HbListener *who)

Definition at line 55 of file hblistener.h.

Referenced by _hblistener_checktimeouts().

guint64 _HbListener::_expected_interval

How often to expect heartbeats.

Definition at line 58 of file hblistener.h.

Referenced by _hblistener_got_frameset().

void(* _HbListener::_heartbeat_callback)(HbListener *who)

Definition at line 54 of file hblistener.h.

Referenced by _hblistener_got_frameset().

guint64 _HbListener::_warn_interval

When to warn about late heartbeats.

Definition at line 59 of file hblistener.h.

Referenced by _hblistener_got_frameset().

void(* _HbListener::_warntime_callback)(HbListener *who, guint64 howlate)

Definition at line 56 of file hblistener.h.

Referenced by _hblistener_got_frameset().

Listener _HbListener::baseclass

Definition at line 45 of file hblistener.h.

Referenced by nanoobey_expecthb().

guint64(* _HbListener::get_deadtime)(HbListener *)

Retrieve deadtime.

Definition at line 46 of file hblistener.h.

Referenced by hblistener_new().

guint64(* _HbListener::get_warntime)(HbListener *)

Retrieve warntime.

Definition at line 48 of file hblistener.h.

Referenced by hblistener_new().

NetAddr* _HbListener::listenaddr
guint64 _HbListener::nexttime

When next heartbeat is due.

Definition at line 60 of file hblistener.h.

Referenced by _hblistener_checktimeouts(), and _hblistener_got_frameset().

void(* _HbListener::set_comealive_callback)(HbListener *, void(*)(HbListener *who, guint64 howlate))

Definition at line 53 of file hblistener.h.

Referenced by hblistener_new(), and nanoobey_expecthb().

void(* _HbListener::set_deadtime)(HbListener *, guint64)

Set deadtime.

Definition at line 47 of file hblistener.h.

Referenced by hblistener_new(), and nanoobey_expecthb().

void(* _HbListener::set_deadtime_callback)(HbListener *, void(*)(HbListener *who))

Definition at line 51 of file hblistener.h.

Referenced by hblistener_new(), and nanoobey_expecthb().

void(* _HbListener::set_heartbeat_callback)(HbListener *, void(*)(HbListener *who))

Definition at line 50 of file hblistener.h.

Referenced by hblistener_new(), and nanoobey_expecthb().

void(* _HbListener::set_warntime)(HbListener *, guint64)

Set warntime.

Definition at line 49 of file hblistener.h.

Referenced by hblistener_new(), and nanoobey_expecthb().

void(* _HbListener::set_warntime_callback)(HbListener *, void(*)(HbListener *who,guint64 howlate))

Definition at line 52 of file hblistener.h.

Referenced by hblistener_new(), and nanoobey_expecthb().

HbNodeStatus _HbListener::status
guint64 _HbListener::warntime

Warn heartbeat time.

Definition at line 61 of file hblistener.h.

Referenced by _hblistener_got_frameset().


The documentation for this struct was generated from the following file: