Interface IProducer
- Namespace
- Sportradar.OddsFeed.SDK.Api
- Assembly
- Sportradar.OddsFeed.SDK.dll
Defines a contract for producer which use the feed to dispatch messages
public interface IProducer
- Extension Methods
Properties
Description
Gets the description of the producer
string Description { get; }
Property Value
- string
The description
Id
Gets the id of the producer
int Id { get; }
Property Value
- int
The id
IsAvailable
Gets a value indicating whether the producer is available on feed
bool IsAvailable { get; }
Property Value
- bool
trueif this instance is active; otherwise,false
IsDisabled
Gets a value indicating whether the producer is disabled
bool IsDisabled { get; }
Property Value
- bool
trueif this instance is disabled; otherwise,false
IsProducerDown
Gets a value indicating whether the producer is marked as down
bool IsProducerDown { get; }
Property Value
- bool
trueif this instance is down; otherwise,false
LastTimestampBeforeDisconnect
Gets the last timestamp before disconnect for this producer
DateTime LastTimestampBeforeDisconnect { get; }
Property Value
- DateTime
The last timestamp before disconnect
MaxInactivitySeconds
Gets the maximum inactivity seconds
int MaxInactivitySeconds { get; }
Property Value
- int
The maximum inactivity seconds
MaxRecoveryTime
Gets the maximum recovery time (in seconds)
int MaxRecoveryTime { get; }
Property Value
- int
The maximum recovery time (in seconds)
Name
Gets the name of the producer
string Name { get; }
Property Value
- string
The name
RecoveryInfo
Gets the recovery info about last recovery attempt
IRecoveryInfo RecoveryInfo { get; }
Property Value
- IRecoveryInfo
The recovery info about last recovery attempt
Scope
Gets the scope of the producer
IReadOnlyCollection<string> Scope { get; }
Property Value
- IReadOnlyCollection<string>
The scope
StatefulRecoveryWindow
Gets the stateful recovery window in minutes.
int StatefulRecoveryWindow { get; }
Property Value
- int
The stateful recovery window in minutes.