Class CfgDataService


  • public final class CfgDataService
    extends Object
    This class represents the configuration used by Data Service.
    • Constructor Detail

      • CfgDataService

        public CfgDataService​(String newname,
                              DBHandlerConf newdbHandlerConf)
        Creates a new CfgDataService with name and Database Handler specification provided
        Parameters:
        newname - Hostname of the DataService
        newdbHandlerConf - Database Handler configuration
      • CfgDataService

        public CfgDataService​(String newname,
                              String newhostname,
                              int newtcpPort,
                              DBHandlerConf newdbHandlerConf)
        Creates a new CfgDataService with name, port, hostname and Database Handler specification provided
        Parameters:
        newname - Name of the DataService
        newhostname - Hostname of the DataService
        newtcpPort - Port of TCP DataService
        newdbHandlerConf - Database Handler configuration
    • Method Detail

      • getName

        public String getName()
        Get the CfgDataService::name
        Returns:
        the port
      • getDbHandlerConf

        public DBHandlerConf getDbHandlerConf()
        Get the CfgDataService::dbHandlerConf
        Returns:
        the dbHandlerConf
      • getHostname

        public String getHostname()
        Get the CfgDataService::hostname
        Returns:
        the hostname
      • getTcpPort

        public int getTcpPort()
        Get the CfgDataService::tcpPort
        Returns:
        the tcpPort