Class Server


  • public class Server
    extends Object
    Class to parse the part of infobase configuration file into an object.
    • Constructor Detail

      • Server

        public Server()
    • Method Detail

      • getAddress

        public String getAddress()
        Returns the server address.
        Returns:
        the server address, never null
      • setAddress

        public void setAddress​(String address)
        Sets the server address.
        Parameters:
        address - to set, cannot be null
      • getPort

        public int getPort()
        Returns the server port.
        Returns:
        the server port, never null
      • setPort

        public void setPort​(int port)
        Sets the server port.
        Parameters:
        port - to set, cannot be null
      • copy

        public Server copy()
        Creates a copy of the instance.
        Returns:
        the copy instance, never null
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object