|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
server.GLTMonitor
The driver class for GLTMon server application. This class contains the main program that controls all the DeviceThreads, which perform the actual attribute polling.
This class contains a number of methods that work with each DeviceThread to start it and notify it that changes have occurred.
DeviceThread| Constructor Summary | |
GLTMonitor(Conf config)
Construct a GLTMonitor object that establishes a database connection. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Main |
void |
monitorChanges()
Monitor changes occuring in the database, and notify the appropriate DeviceThread. |
void |
shutdown()
Invoke a clean shutdown of each DeviceThread |
void |
startDeviceThreads()
Fire up the threads to control the polling of each monitored Device. |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GLTMonitor(Conf config)
throws server.GLTMonitor.GLTMonitorCreateException
| Method Detail |
public void monitorChanges()
throws server.GLTMonitor.GLTMonitorDatabaseException
server.GLTMonitor.GLTMonitorDatabaseException
public void startDeviceThreads()
throws server.GLTMonitor.GLTMonitorDatabaseException
server.GLTMonitor.GLTMonitorDatabaseExceptionpublic void shutdown()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||