org.hardtokenmgmt.admin.control
Interface IHostStatusFetcher

All Known Implementing Classes:
BaseHostStatusFetcher, DummyImpl, HTMFWSImpl

public interface IHostStatusFetcher

Contains method to fetch HostInfoVO

Version:
$Id$
Author:
Philip Vendil 18 feb 2009

Method Summary
 OverallStatus getHostStatuses()
          Method that should fetch the current HostInfoVO for all the configured hosts
 boolean isHostMonitored(java.lang.String hostname)
          Checks if a specific host is currently monitored.
 void setHostAsMonitored(java.lang.String hostname, boolean monitored)
          Marks a specific as monitored as status checks should periodically be sent to this host.
 

Method Detail

getHostStatuses

OverallStatus getHostStatuses()
Method that should fetch the current HostInfoVO for all the configured hosts

Returns:
an OverallStatus for all the configured hosts

setHostAsMonitored

void setHostAsMonitored(java.lang.String hostname,
                        boolean monitored)
Marks a specific as monitored as status checks should periodically be sent to this host.

Parameters:
hostname - the name of the host
monitored - if monitored or not

isHostMonitored

boolean isHostMonitored(java.lang.String hostname)
Checks if a specific host is currently monitored.

Parameters:
hostname - the name of the host
Returns:
true if the given host is currently monitored.