All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class magician.Four11.DBReader

java.lang.Object
   |
   +----magician.Four11.DBReader

public class DBReader
extends Object
implements Runnable
Implements the network topologies on a per-network basis


Variable Index

 o netDB
database reference for network
 o network
Network name being monitored
 o TIMEOUT_PERIOD
Timer interval for polling database

Constructor Index

 o DBReader(String)
initializes with the network name

Method Index

 o getDB()
controls access to database by MessageHandler requests.
 o run()
creates a new database and coordinates access
 o wakeup()
called by timer thread

Variables

 o TIMEOUT_PERIOD
 static final int TIMEOUT_PERIOD
Timer interval for polling database

 o network
 String network
Network name being monitored

 o netDB
 protected AssocList netDB
database reference for network

Constructors

 o DBReader
 public DBReader(String netname)
initializes with the network name

Parameters:
netname - the name of the network

Methods

 o run
 public void run()
creates a new database and coordinates access

 o getDB
 protected AssocList getDB()
controls access to database by MessageHandler requests.

Returns:
the database
See Also:
Messagehandler, AssocList
 o wakeup
 protected void wakeup()
called by timer thread


All Packages  Class Hierarchy  This Package  Previous  Next  Index
1