Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

KeyNetwork Class Reference

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

#include <bayonne.h>

Inheritance diagram for KeyNetwork:

Keydata MemPager List of all members.

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.

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.

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.


The documentation for this class was generated from the following file:
Generated on Tue Sep 13 02:19:09 2005 for Bayonne by  doxygen 1.4.4