Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

KeyNetwork Class Reference

Load /etc/bayonne [network] key value pairs. Load database access bindings. More...

#include <bayonne.h>

Inheritance diagram for KeyNetwork::

Keydata List of all members.

Public Methods

 KeyNetwork ()
 Initialize keydatabase data. More...

unsigned getRefresh (void)
 Get refresh timer in seconds for inter-node activity. More...

unsigned getTimeToLive (void)
 Get time delay for declairing a node "dead". More...

unsigned getTimeToElect (void)
 Get time to elect a new buddy. More...

unsigned getTimeToExpire (void)
 Get time to expire a buddy. More...

InetHostAddress getBroadcast (void)
 Get broadcast address to use. More...

InetAddress getAddress (void)
 Get bind address to use. More...

tpport_t getPort (void)
 Get port for binding. More...

InetHostAddress getDBHost (void)
 Get the host for bayonnedb broadcast. More...

tpport_t getDBPort (void)
 Get the database port number. More...


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.

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.


The documentation for this class was generated from the following file:
Generated at Sat Nov 3 09:50:21 2001 for Bayonne by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001