Table of Contents

Class UofSdkExtended

Namespace
Sportradar.OddsFeed.SDK.Api.Extended
Assembly
Sportradar.OddsFeed.SDK.dll

A IUofSdk implementation acting as an entry point to the odds feed service with possibility to get raw feed and api data

public class UofSdkExtended : UofSdk, IUofSdkExtended, IUofSdk, IDisposable
Inheritance
UofSdkExtended
Implements
Inherited Members

Constructors

UofSdkExtended(IServiceProvider)

Constructs a new instance of the IUofSdkExtended class

public UofSdkExtended(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

A IServiceProvider instance including UofSdk configuration

Methods

Close()

Closes the current IUofSdkExtended instance and disposes resources used by it

public void Close()

Open()

Opens the current feed by opening all created sessions

public void Open()

Exceptions

ObjectDisposedException
InvalidOperationException

The feed is already opened or The configuration is not valid

CommunicationException

Connection to the REST-ful API failed, Probable Reason={Invalid or expired token} or Connection to the message broker failed, Probable Reason={Invalid or expired token} or

Events

RawApiDataReceived

Occurs when data from Sports API arrives

public event EventHandler<RawApiDataEventArgs> RawApiDataReceived

Event Type

EventHandler<RawApiDataEventArgs>

RawFeedMessageReceived

Occurs when any feed message arrives

public event EventHandler<RawFeedMessageEventArgs> RawFeedMessageReceived

Event Type

EventHandler<RawFeedMessageEventArgs>