man KeyNetwork () - Load /etc/bayonne [network] key value pairs. Load database access bindings.
NAME
KeyNetwork - Load /etc/bayonne [network] key value pairs. Load database access bindings.
SYNOPSIS
#include <bayonne.h>
Public Member Functions
KeyNetwork ()
Initialize keydatabase data.
unsigned getRefresh (void)
Get refresh timer in seconds for inter-node activity.
unsigned getTimeToLive (void)
Get time delay for declairing a node 'dead'.
unsigned getTimeToElect (void)
Get time to elect a new buddy.
unsigned getTimeToExpire (void)
Get time to expire a buddy.
InetHostAddress getBroadcast (void)
Get broadcast address to use.
InetAddress getAddress (void)
Get bind address to use.
InetAddress getMonitorAddress (void)
Get bind address for monitoring module.
tpport_t getPort (void)
Get port for binding.
tpport_t getMonitorPort (void)
Get port for monitoring module.
InetHostAddress getDBHost (void)
Get the host for bayonnedb broadcast.
tpport_t getDBPort (void)
Get the database port number.
Detailed Description
Load /etc/bayonne [network] key value pairs. Load database access bindings.
These are used to specify dilu access methods and bindings.
Author: David Sugar <dyfet@ostel.com>
Constructor & Destructor Documentation
KeyNetwork::KeyNetwork ()
Initialize keydatabase data.
Member Function Documentation
InetAddress KeyNetwork::getAddress (void)
Get bind address to use.
Returns: binding address.
InetHostAddress KeyNetwork::getBroadcast (void)
Get broadcast address to use.
Returns: broadcast address.
InetHostAddress KeyNetwork::getDBHost (void)
Get the host for bayonnedb broadcast.
Returns: broadcast address.
tpport_t KeyNetwork::getDBPort (void)
Get the database port number.
Returns: db port number.
InetAddress KeyNetwork::getMonitorAddress (void)
Get bind address for monitoring module.
Returns: monitor address.
tpport_t KeyNetwork::getMonitorPort (void)
Get port for monitoring module.
Returns: monitor port.
tpport_t KeyNetwork::getPort (void)
Get port for binding.
Returns: port.
unsigned KeyNetwork::getRefresh (void) [inline]
Get refresh timer in seconds for inter-node activity.
Returns: refresh in seconds.
unsigned KeyNetwork::getTimeToElect (void) [inline]
Get time to elect a new buddy.
Returns: time to elect in seconds.
unsigned KeyNetwork::getTimeToExpire (void) [inline]
Get time to expire a buddy.
Returns: time to expire a buddy.
unsigned KeyNetwork::getTimeToLive (void) [inline]
Get time delay for declairing a node 'dead'.
Returns: time delay in seconds.
Author
Generated automatically by Doxygen for Bayonne from the source code.