Open topic with navigation

com.hp.lft.sdk

## Interface SDKConfiguration

- All Known Implementing Classes:
    ModifiableSDKConfiguration

      public interface SDKConfiguration

  Defines the configuration information for the SDK.

- - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `getAutoLaunch()` Indicates whether the LeanFT runtime engine is set to launch on LeanFT SDK initialization.
    `int` | `getConnectTimeoutSeconds()` Returns the maximum time (in seconds) to try to connect to the runtime engine.
    `int` | `getResponseTimeoutSeconds()` Returns the maximum time (in seconds) to wait for a response to any command sent to the runtime engine.
    `SDKMode` | `getSDKMode()` Returns the the SDK run mode.
    `java.net.URI` | `getServerAddress()` Returns the LeanFT runtime engine URL to use for the default session.

- - ### Method Detail

    - #### getServerAddress

          java.net.URI getServerAddress()
                                 throws java.net.URISyntaxException

      Returns the LeanFT runtime engine URL to use for the default session.
      Returns:
        the LeanFT runtime engine URL to use for the default session.
      Throws:
        `java.net.URISyntaxException` - if the syntax of the URI is invalid.

    - #### getConnectTimeoutSeconds

          int getConnectTimeoutSeconds()

      Returns the maximum time (in seconds) to try to connect to the runtime engine.
      Returns:
        the maximum time (in seconds) to try to connect to the runtime engine.

    - #### getResponseTimeoutSeconds

          int getResponseTimeoutSeconds()

      Returns the maximum time (in seconds) to wait for a response to any command sent to the runtime engine.
      Returns:
        the maximum response wait time in seconds.

    - #### getAutoLaunch

          boolean getAutoLaunch()

      Indicates whether the LeanFT runtime engine is set to launch on LeanFT SDK initialization. Note: Relevant only for local runs. When running remotely, the value should be false.
      Returns:
        true if the LeanFT runtime engine is set to launch on LeanFT SDK initialization, false otherwise.

    - #### getSDKMode

          SDKMode getSDKMode()

      Returns the the SDK run mode.
      Returns:
        the current SDK mode.