Click or drag to resize

IConfigurationInactivitySecondsSetterSetInactivitySeconds Method

Sets the max time window between two messages before the producer is market as "down"

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#
IOddsFeedConfigurationBuilder SetInactivitySeconds(
	int inactivitySeconds
)

Parameters

inactivitySeconds  Int32
The inactivity seconds Value must be between 20 and 180.

Return Value

IOddsFeedConfigurationBuilder
The IOddsFeedConfigurationBuilder instance used to set additional values.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptioninactivitySeconds < 20 or inactivitySeconds > 180
See Also