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
-
netDB
- database reference for network
-
network
- Network name being monitored
-
TIMEOUT_PERIOD
- Timer interval for polling database
-
DBReader(String)
- initializes with the network name
-
getDB()
- controls access to database by MessageHandler requests.
-
run()
- creates a new database and coordinates access
-
wakeup()
- called by timer thread
TIMEOUT_PERIOD
static final int TIMEOUT_PERIOD
- Timer interval for polling database
network
String network
- Network name being monitored
netDB
protected AssocList netDB
- database reference for network
DBReader
public DBReader(String netname)
- initializes with the network name
- Parameters:
- netname - the name of the network
run
public void run()
- creates a new database and coordinates access
getDB
protected AssocList getDB()
- controls access to database by MessageHandler requests.
- Returns:
- the database
- See Also:
- Messagehandler, AssocList
wakeup
protected void wakeup()
- called by timer thread
All Packages Class Hierarchy This Package Previous Next Index