Class DataHubServer

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataHubServer
    extends java.lang.Object
    implements java.io.Serializable
    A DataHub server to communicate to.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getLocation()
      Reads location URL of this server.
      java.lang.String getName()
      Reads name of this server.
      int hashCode()  
      boolean isAccessibleWithTimeout()
      Determines whether the server is accessible within the timeout
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isAccessibleWithTimeout

        public boolean isAccessibleWithTimeout()
        Determines whether the server is accessible within the timeout
        Returns:
        true, if the server is accessible and the program can interact with it; false, otherwise.
      • getName

        public java.lang.String getName()
        Reads name of this server.
        Returns:
        name of this server as it was configured in the DataHubNameService
      • getLocation

        public java.lang.String getLocation()
        Reads location URL of this server.
        Returns:
        URL of this server as it was configured in the DataHubNameService
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object