Package domain

Class DomainController


  • public class DomainController
    extends java.lang.Object
    Author:
    Vincent Lammens (vincent@vincentlammens.be)
    • Constructor Summary

      Constructors 
      Constructor Description
      DomainController()
      Constructs a DomainController
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getMonitorStatus​(java.lang.String name)
      Gets the status of an individual monitor object.
      java.util.List<java.lang.String> listMonitorNames()
      Returns a list of all monitor names
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DomainController

        public DomainController()
                         throws java.net.UnknownHostException
        Constructs a DomainController
        Throws:
        java.net.UnknownHostException
    • Method Detail

      • listMonitorNames

        public java.util.List<java.lang.String> listMonitorNames()
        Returns a list of all monitor names
        Returns:
        List with the names of the monitors
      • getMonitorStatus

        public boolean getMonitorStatus​(java.lang.String name)
                                 throws java.io.IOException
        Gets the status of an individual monitor object.
        Parameters:
        name - String with the name of the monitor too check the status of
        Returns:
        boolean with the monitor status.
        Throws:
        java.io.IOException