Click or drag to resize

ICustomConfigurationBuilder Interface

Defines a contract implemented by classes used to set general and custom configuration properties

Namespace: Sportradar.OddsFeed.SDK.API
Assembly: Sportradar.OddsFeed.SDK.API (in Sportradar.OddsFeed.SDK.API.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
public interface ICustomConfigurationBuilder : IRecoveryConfigurationBuilder<ICustomConfigurationBuilder>, 
	IConfigurationBuilderBase<ICustomConfigurationBuilder>

The ICustomConfigurationBuilder type exposes the following members.

Methods
 NameDescription
Public methodBuild Builds and returns a IOddsFeedConfiguration instance
(Inherited from IConfigurationBuilderBaseT)
Public methodLoadFromConfigFile Sets the general configuration properties to values read from configuration file. Only value which can be set through IConfigurationBuilderBaseT methods are set. Any values already set by methods on the current instance are overridden
(Inherited from IConfigurationBuilderBaseT)
Public methodSetAdjustAfterAge Sets the value indicating whether the after age should be adjusted before executing recovery request
(Inherited from IRecoveryConfigurationBuilderT)
Public methodSetApiHost Set the host name of the Sports API server
Public methodSetDefaultLanguage Sets the default language in which translatable data is available
(Inherited from IConfigurationBuilderBaseT)
Public methodSetDisabledProducers Specifies the producers which should be disabled (i.e. no recovery, ...)
(Inherited from IConfigurationBuilderBaseT)
Public methodSetExceptionHandlingStrategy Sets the value specifying how exceptions thrown in the SDK are handled.
(Inherited from IConfigurationBuilderBaseT)
Public methodSetHttpClientTimeout Sets the timeout for HTTP responses for this instance of the sdk
(Inherited from IConfigurationBuilderBaseT)
Public methodSetInactivitySeconds Sets the max time window between two consecutive alive messages before the associated producer is marked as down
(Inherited from IRecoveryConfigurationBuilderT)
Public methodSetMaxRecoveryTime Sets the maximum time in seconds in which recovery must be completed (minimum 600 seconds)
(Inherited from IRecoveryConfigurationBuilderT)
Public methodSetMessagingHost Sets the host name of the AMQP server
Public methodSetMessagingPassword Sets the password used to authenticate with the messaging server
Public methodSetMessagingPort Sets the port used to connect to the AMQP server
Public methodSetMessagingUsername Sets the username used to authenticate with the messaging server
Public methodSetMinIntervalBetweenRecoveryRequests Sets the minimal interval between recovery requests initiated by alive messages (between 20 and 180 seconds)
(Inherited from IRecoveryConfigurationBuilderT)
Public methodSetNodeId Sets the node id used to separate between SDK instances associated with the same account
(Inherited from IConfigurationBuilderBaseT)
Public methodSetRecoveryHttpClientTimeout Sets the timeout for recovery HTTP responses for this instance of the sdk
(Inherited from IRecoveryConfigurationBuilderT)
Public methodSetSupportedLanguages Sets the languages in which translatable data is available
(Inherited from IConfigurationBuilderBaseT)
Public methodSetVirtualHost Sets the virtual host name of the AMQP server
Public methodUseApiSsl Sets the value specifying whether SSL should be used to communicate with Sports API
Public methodUseMessagingSsl Sets the value specifying whether SSL should be used to communicate with the messaging server
Top
See Also