Package | Description |
---|---|
com.sportradar.unifiedodds.sdk.cfg |
Modifier and Type | Class and Description |
---|---|
class |
OddsFeedConfigurationBuilderImpl
An implementation of all the SDK builder interfaces which is used to build the
OddsFeedConfiguration used to
initialize the OddsFeed object |
Modifier and Type | Method and Description |
---|---|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.addDesiredLocales(List<Locale> locales)
Which locales should be auto-fetched - beside the default
Locale . |
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.addDesiredLocales(List<Locale> locales)
Which locales should be auto-fetched.
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.loadConfigFromSdkProperties()
Reads the SDK properties file and sets the available properties
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.loadConfigFromSdkProperties()
Reads the SDK properties file and sets the available properties
|
OddsFeedConfigurationBuilder |
ConfigurationAccessTokenSetter.setAccessToken(String accessToken)
Set your access token, provided by Sportradar (without this set you will not be able to
connect to the Sportradar AMQP broker and the SportsAPI)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setAccessToken(String accessToken)
Set your access token as provided by Sportradar (without this set you will not be able to
connect)
|
OddsFeedConfigurationBuilder |
ConfigurationAccessTokenSetter.setAccessTokenFromSdkProperties()
Try to set your access token as provided by Sportradar trough the SDK properties, "uf.sdk.accessToken"
The properties file should be named "UFSdkConfiguration.properties" and localed in the application resources folder
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setAccessTokenFromSdkProperties()
Try to set your access token as provided by Sportradar trough the SDK properties, "uf.sdk.accessToken"
|
OddsFeedConfigurationBuilder |
ConfigurationAccessTokenSetter.setAccessTokenFromSystemVar()
Try to set your access token, provided by Sportradar, trough the system variable "uf.accesstoken".
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setAccessTokenFromSystemVar()
Try to set your access token as provided by Sportradar trough the system variable "uf.accesstoken",
you can set the access token with the following JVM argument -Duf.accesstoken=your-access-token.
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setApiHost(String apiHost)
Specify the host used for API access (if not specified this defaults to
api.betradar.com)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setApiHost(String apiHost)
Specify the Sportradar host used for API access (if not specified this defaults to
api.betradar.com)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setApiPort(int apiPort)
Specify the port used for API access (if not specified this defaults to 80)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setApiPort(int apiPort)
Specify the Sportradar port used for API access (if not specified this defaults to 80)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setApiUseSsl(boolean useSsl)
Sets a value indicating whether SSL should be used when requesting API endpoints
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setApiUseSsl(boolean useSsl)
Sets a value indicating whether SSL should be used when requesting API endpoints
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setDefaultLocale(Locale defaultLocale)
Sets the default locale.
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setDefaultLocale(Locale defaultLocale)
Sets the default locale.
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setDisabledProducers(List<Integer> disabledProducers)
Set a list of producer identifiers which should be disabled automatically when the SDK starts
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setDisabledProducers(List<Integer> disabledProducers)
Set a list of producer identifiers which should be disabled automatically when the SDK starts
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setInactivitySeconds(int inactivitySeconds)
Specify how many seconds is the maximum length of inactivity (default and lowest 20 seconds, highest 180s)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setInactivitySeconds(int inactivitySeconds)
Specify how many seconds that is maximum length of inactivity (default and lowest 20 seconds, highest 180s)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setMaxRecoveryExecutionMinutes(int executionMinutes)
Specify the maximum execution time of a recovery request.
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setMaxRecoveryExecutionMinutes(int executionMinutes)
Specify the maximum execution time of a recovery request.
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setMessagingHost(String host)
Specify the AMQP host to receive messages from (if not specified this defaults to
mq.betradar.com)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setMessagingHost(String host)
Specify the Sportradar host to receive messages from (if not specified this defaults to
mq.betradar.com)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setMessagingPassword(String password)
Set the password of the broker to which you are connecting - this is not required for the connection to the
default Sportradar AMQP servers
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setMessagingPassword(String password)
Set the password of the broker to which you are connecting - this is not required for the connection to the
default Sportradar Rabbit servers
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setMessagingPort(int port)
Sets the port used to connect to AMQP broker
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setMessagingPort(int port)
Sets the port used to connect to AMQP broker
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setMessagingUseSsl(boolean useSsl)
Sets a value indicating whether SSL should be used when connecting to the AMQP broker
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setMessagingUseSsl(boolean useSsl)
Sets a value indicating whether SSL should be used when connecting to AMQP broker
|
default OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setMinIntervalBetweenRecoveryRequests(int intervalSeconds)
Sets the minimal time between two successive recovery requests initiated by alive messages (minimum 20 seconds)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setMinIntervalBetweenRecoveryRequests(int intervalSeconds)
Sets the minimal time between two successive recovery requests initiated by alive messages (minimum 20 seconds)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setSdkNodeId(int id)
Set the node identifier of the currently running SDK instance.
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setSdkNodeId(int id)
Set the node identifier of the currently running SDK instance.
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setUseIntegrationEnvironment(boolean useIntegrationEnvironment)
Set the setting property which will ensure the SDK connects to the integration environment
(please note that the integration environment requires different access tokens than the production ones)
|
OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilderImpl.setUseIntegrationEnvironment(boolean useIntegrationEnvironment)
Set the setting property which will ensure the SDK connects to the integration environment
(please note that the integration environment requires different access tokens than the production ones)
|
default OddsFeedConfigurationBuilder |
OddsFeedConfigurationBuilder.setUseStagingEnvironment(boolean useStagingEnvironment)
Deprecated.
in favour of {
setUseIntegrationEnvironment(boolean) } from v2.0.18 |
Copyright © 2016–2023. All rights reserved.