Package fr.gouv.vitam.processing.common.model

# Class WorkerRemoteConfiguration

java.lang.Object
fr.gouv.vitam.processing.common.model.WorkerRemoteConfiguration

public class WorkerRemoteConfiguration extends Object
Worker remote configuration : contains the properties used to create a worker client.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `WorkerRemoteConfiguration(String serverHost, int serverPort)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getServerHost()`
  `int`
  `getServerPort()`
  `WorkerRemoteConfiguration`
  `setServerHost(String serverHost)`
  `WorkerRemoteConfiguration`
  `setServerPort(int serverPort)`
  `String`
  `toString()`
  toString : get the worker remote configuration

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### WorkerRemoteConfiguration

    public WorkerRemoteConfiguration(String serverHost, int serverPort)
    Parameters:
      `serverHost` - : the worker server host
      `serverPort` - : the worker server port

- ## Method Details

  - ### getServerHost

    public String getServerHost()
    Returns:
      the serverHost

  - ### setServerHost

    public WorkerRemoteConfiguration setServerHost(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 String toString()
    toString : get the worker remote configuration
    Overrides:
      `toString` in class `Object`