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
serviceProviderIServiceProviderA 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
RawFeedMessageReceived
Occurs when any feed message arrives
public event EventHandler<RawFeedMessageEventArgs> RawFeedMessageReceived