Package g4ds :: Module routingtablemanagerdb :: Class RoutingTableManagerDB
[show private | hide private]
[frames | no frames]

Class RoutingTableManagerDB


Database backend for routingtablemanager.RoutingTableManager
Method Summary
  __init__(self)
Initialise database connections.
  addRoutingTableEntry(self, entry)
Adds one entry to the routing table table.
  emptyRoutingTable(self)
Drops all entries in the table for the routing table.
  getRoutingTableEntries(self)
Fetches list of routing table entries from the database.
  updateRoutingTableEntry(self, oldEntry, newEntry)
Overwrites the data of the old entry with the one of the new entry.

Method Details

__init__(self)
(Constructor)

Initialise database connections.

Initialises the connection to the database using the settings in the configuration file / module config. The connection itself is stored in a local variable.

addRoutingTableEntry(self, entry)

Adds one entry to the routing table table.

emptyRoutingTable(self)

Drops all entries in the table for the routing table.

getRoutingTableEntries(self)

Fetches list of routing table entries from the database.

updateRoutingTableEntry(self, oldEntry, newEntry)

Overwrites the data of the old entry with the one of the new entry.

Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 http://epydoc.sf.net