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 getDatabaseDelay (void)
 Get time delay for transactions. 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 getDatabase (unsigned id)
 Get adapter address for a specific connection. More...

tpport_t getDatabasePort (unsigned id)
 Get adapter port address for a specific connection. 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::getDatabase ( unsigned id )
 

Get adapter address for a specific connection.

Parameters:
adapter   id.
Returns:
adapter address.

unsigned KeyNetwork::getDatabaseDelay ( void ) [inline]
 

Get time delay for transactions.

Returns:
time delay in seconds.

tpport_t KeyNetwork::getDatabasePort ( unsigned id )
 

Get adapter port address for a specific connection.

Parameters:
adapter   id.
Returns:
adapter 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.


The documentation for this class was generated from the following file:
Generated at Fri Dec 15 12:35:19 2000 for Bayonne by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000