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

This is the base HbSender class. object - which sends heartbeats to particular listeners. More...

#include <hbsender.h>

Collaboration diagram for _HbSender:

Data Fields

void(* ref )(HbSender *)
 Increment reference count. More...
 
void(* unref )(HbSender *)
 Decrement reference count. More...
 
void(* _finalize )(HbSender *)
 HbSender destructor. More...
 
guint64 _expected_interval
 How often to expect heartbeats. More...
 
NetGSource_outmethod
 How to send out heartbeats. More...
 
NetAddr_sendaddr
 What address are we sending to? More...
 
int _refcount
 Current reference count. More...
 
guint timeout_source
 timeout source id More...
 

Detailed Description

This is the base HbSender class. object - which sends heartbeats to particular listeners.

Todo:
Need to make this a subclass of AssimObj

Definition at line 39 of file hbsender.h.

Field Documentation

guint64 _HbSender::_expected_interval

How often to expect heartbeats.

Definition at line 43 of file hbsender.h.

Referenced by hbsender_new().

void(* _HbSender::_finalize)(HbSender *)

HbSender destructor.

Definition at line 42 of file hbsender.h.

Referenced by hbsender_new().

NetGSource* _HbSender::_outmethod

How to send out heartbeats.

Definition at line 44 of file hbsender.h.

Referenced by hbsender_new().

int _HbSender::_refcount

Current reference count.

Definition at line 46 of file hbsender.h.

Referenced by hbsender_new().

NetAddr* _HbSender::_sendaddr

What address are we sending to?

Definition at line 45 of file hbsender.h.

Referenced by hbsender_new(), and hbsender_stopsend().

void(* _HbSender::ref)(HbSender *)

Increment reference count.

Definition at line 40 of file hbsender.h.

Referenced by hbsender_new().

guint _HbSender::timeout_source

timeout source id

Definition at line 47 of file hbsender.h.

Referenced by hbsender_new().

void(* _HbSender::unref)(HbSender *)

Decrement reference count.

Definition at line 41 of file hbsender.h.

Referenced by hbsender_new(), hbsender_stopallsenders(), and hbsender_stopsend().


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