Class WorkerRemoteConfiguration


  • public class WorkerRemoteConfiguration
    extends java.lang.Object
    Worker remote configuration : contains the properties used to create a worker client.
    • Constructor Detail

      • WorkerRemoteConfiguration

        public WorkerRemoteConfiguration​(java.lang.String serverHost,
                                         int serverPort)
        Parameters:
        serverHost - : the worker server host
        serverPort - : the worker server port
    • Method Detail

      • getServerHost

        public java.lang.String getServerHost()
        Returns:
        the serverHost
      • setServerHost

        public WorkerRemoteConfiguration setServerHost​(java.lang.String serverHost)
        Parameters:
        serverHost - the serverHost to set
        Returns:
        this
      • getServerPort

        public int getServerPort()
        Returns:
        the serverPort
      • setServerPort

        public WorkerRemoteConfiguration setServerPort​(int serverPort)
        Parameters:
        serverPort - the serverPort to set
        Returns:
        this
      • toString

        public java.lang.String toString()
        toString : get the worker remote configuration
        Overrides:
        toString in class java.lang.Object