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.

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...

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(s):
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::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 Feb 3 09:41:24 2001 for Bayonne by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000