org.hardtokenmgmt.admin.control
Class HostStatusUpdater
java.lang.Object
java.util.Observable
org.hardtokenmgmt.admin.control.HostStatusUpdater
- All Implemented Interfaces:
- java.lang.Runnable
public class HostStatusUpdater
- extends java.util.Observable
- implements java.lang.Runnable
Runnable in charge of fetching the host info and notifying all
listeners of information
- Version:
- $Id$
- Author:
- Philip Vendil 18 feb 2009
| 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 |
getInstance
public static HostStatusUpdater getInstance()
run
public void run()
- Specified by:
run in interface java.lang.Runnable
pause
public void pause()
play
public void play()
stop
public void stop()
updateAllNow
public void updateAllNow()
updateCAInfoVO
public void updateCAInfoVO(java.lang.String hostname,
CAInfoVO cAInfoVO)
- Updates the current overall status with
- Parameters:
hostname - the host name containing the new CAInfoVOcAInfoVO - the actual data to update.
getCurrentOverallStatus
public OverallStatus getCurrentOverallStatus()
- Returns:
- the current overall status.