Click or drag to resize

Feed Class

A IOddsFeed implementation acting as an entry point to the odds feed SDK
Inheritance Hierarchy

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 class Feed : EntityDispatcherBase, IOddsFeedV6, IOddsFeedV5, 
	IOddsFeedV4, IOddsFeedV3, IOddsFeedV2, IOddsFeedV1, IOddsFeed, 
	IDisposable

The Feed type exposes the following members.

Constructors
 NameDescription
Public methodFeed(IOddsFeedConfiguration) Constructs a new instance of the Feed class
Protected methodFeed(IOddsFeedConfiguration, Boolean) Initializes a new instance of the Feed class
Top
Properties
 NameDescription
Public propertyBookingManager Gets a IBookingManager instance used to perform various booking calendar operations
Public propertyBookmakerDetails Gets a IBookmakerDetails instance used to get info about bookmaker and token used
Public propertyCashOutProbabilitiesProvider Gets theICashOutProbabilitiesProvider instance used to retrieve cash out probabilities for betting markets
Public propertyCustomBetManager Gets a ICustomBetManager instance used to perform various custom bet operations
Public propertyEventChangeManager Gets a IEventChangeManager instance used to automatically receive fixture and result changes
Public propertyEventRecoveryRequestIssuer Gets a IEventRecoveryRequestIssuer instance used to issue recovery requests to the feed
Public propertyMarketDescriptionManager Gets a IMarketDescriptionManager instance used to get info about available markets, and to get translations for markets and outcomes including outrights
Public propertyProducerManager Gets a IProducerManager instance used to retrieve producer related data
Public propertySportDataProvider Gets a ISportDataProvider instance used to retrieve sport related data from the feed
Top
Methods
 NameDescription
Public methodStatic memberAvailableLanguages Get all available languages that can be used within SDK and are supported on feed messages
Public methodClose Closes the current Feed instance and disposes resources used by it
Public methodCreateBuilder Constructs and returns a new instance of IOddsFeedSessionBuilder
Public methodStatic memberCreateConfigurationBuilderObsolete.
Constructs a IOddsFeedConfiguration instance from provided information
Protected methodDispatchT(EventHandlerT, T, FeedMessage) Dispatches the
C#
message

(Inherited from EntityDispatcherBase)
Protected methodDispatchT(EventHandlerT, T, String, Int32) Raises the specified event
(Inherited from EntityDispatcherBase)
Public methodDispatchConnectionException Dispatches the information that the exception was thrown in connection loop The information about the exception
Public methodDispose Disposes the current instance and resources associated with it
Protected methodDispose(Boolean) Disposes the current instance and resources associated with it
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberGetConfigurationBuilder Constructs a IOddsFeedConfiguration instance from provided information
Public methodStatic memberGetConfigurationBuilderFromConfigObsolete.
Constructs a IConfigurationBuilder instance, which already contains information read from the configuration (app.config) file
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitFeed Initializes the feed (unity)
Public methodIsOpen Returns an indicator if the feed instance is opened or not
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOpen Opens the current feed by opening all created sessions
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Protected methodUpdateDependency Option to change/update dependency injection before resolving resources
Top
Events
 NameDescription
Public eventClosed Occurs when feed is closed
Public eventConnectionException Occurs when an exception occurs in the connection loop
Public eventDisconnected Raised when the current instance of IOddsFeed loses connection to the feed
Public eventEventRecoveryCompleted Occurs when a requested event recovery completes
Public eventProducerDown Raised when the current IOddsFeed instance determines that the IProducer associated with the odds feed went down
Public eventProducerUp Raised when the current IOddsFeed instance determines that the IProducer associated with the odds feed went up (back online)
Public eventRecoveryInitiated Occurs when a recovery initiation completes
Top
Fields
 NameDescription
Protected fieldFeedInitialized The feed initialized
Protected fieldUnityContainer A IUnityContainer used to resolve
Top
See Also