The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hbsender.h File Reference

Defines Heartbeat Sender interfaces. More...

#include <projectcommon.h>
#include <netaddr.h>
#include <netio.h>
#include <netgsource.h>
Include dependency graph for hbsender.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

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

Typedefs

typedef struct _HbSender HbSender
 
#define DEFAULT_DEADTIME   60
 
WINEXPORT HbSenderhbsender_new (NetAddr *, NetGSource *, guint interval, gsize hblisten_objsize)
 Construct a new HbSender - setting up timeout data structures for it. More...
 
WINEXPORT void hbsender_stopsend (NetAddr *unlistenaddr)
 Stop sending heartbeats to a particular address. More...
 
WINEXPORT void hbsender_stopallsenders (void)
 

Detailed Description

Defines Heartbeat Sender interfaces.

This file defines interfaces for the Heartbeat Sender class. It sends heartbeats to designated listeners - allowing them to be added and dropped at run time.

This file is part of the Assimilation Project.

Author
Copyright © 2011, 2012 - Alan Robertson alanr.nosp@m.@uni.nosp@m.x.sh
The Assimilation software is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/

Definition in file hbsender.h.

Macro Definition Documentation

#define DEFAULT_DEADTIME   60

Definition at line 49 of file hbsender.h.

Typedef Documentation

typedef struct _HbSender HbSender

Definition at line 32 of file hbsender.h.