Table of Contents

Class ProviderConfig

Namespace
Sportradar.LiveData.Sdk.Services.SdkConfiguration
Assembly
Sportradar.LiveData.Sdk.dll
public class ProviderConfig : IConnectionData, ICipherSettings, ILoggerData, IProtocolData, ICloneable
Inheritance
ProviderConfig
Implements
Inherited Members

Constructors

ProviderConfig(ISdkConfiguration, Func<ISdkConfiguration, SdkConfigurationLiveFeed>, ServerType)

public ProviderConfig(ISdkConfiguration config, Func<ISdkConfiguration, SdkConfigurationLiveFeed> get_local_config, FeedConfig.ServerType type)

Parameters

config ISdkConfiguration
get_local_config Func<ISdkConfiguration, SdkConfigurationLiveFeed>
type FeedConfig.ServerType

Properties

AlertLogLevel

Specifies log level threshold used while logging alert messages.

public Level AlertLogLevel { get; }

Property Value

Level

BookmakerId

Bookmaker ID

public long BookmakerId { get; }

Property Value

long

CipherSettings

SSL stream cipher settings.

public ICipherSettings CipherSettings { get; }

Property Value

ICipherSettings

ClientAliveMsgTimeout

Client alive message timeout

public TimeSpan ClientAliveMsgTimeout { get; }

Property Value

TimeSpan

ClientInteractionLogLevel

Specifies log level threshold used while logging client interaction messages.

public Level ClientInteractionLogLevel { get; }

Property Value

Level

CommonIAMSettings

public CommonIAMSettings CommonIAMSettings { get; }

Property Value

CommonIAMSettings

DeadLetterLogLevel

Specifies log level threshold used while logging dead letter messages.

public Level DeadLetterLogLevel { get; }

Property Value

Level

DisallowNonPrintableChars

Should non-printable characters in the stream trigger a disconnect.

public bool DisallowNonPrintableChars { get; }

Property Value

bool

DoValidityCheck

Should connection provider do a quick validity check.

public bool DoValidityCheck { get; }

Property Value

bool

Encoding

Communication channel character encoding

public Encoding Encoding { get; }

Property Value

Encoding

EventRequestLimiter

Limits the number of matches that a client can reference in a given time frame (get status, meta info, book, subscribe or error recovery).

public IRateGate EventRequestLimiter { get; }

Property Value

IRateGate

Hostname

Server name

public string Hostname { get; }

Property Value

string

InvalidDataReconnectWait

Delay before we try reconnecting to server after we received some garbage data

public TimeSpan InvalidDataReconnectWait { get; }

Property Value

TimeSpan

InvalidMsgLogLevel

Specifies log level threshold used while logging invalid/corrupt messages.

public Level InvalidMsgLogLevel { get; }

Property Value

Level

LoggingFeedName

Prefix used in logging

public string LoggingFeedName { get; }

Property Value

string

LoginLimiter

Limits the number of logins a client can perform in a given time frame.

public IRateGate LoginLimiter { get; }

Property Value

IRateGate

MaxReconnectWait

Delay before we try reconnecting to server after we got disconnected (max)

public TimeSpan MaxReconnectWait { get; }

Property Value

TimeSpan

MaxTimeSkew

Max message timestamp skew. Zero to disable the check.

public TimeSpan MaxTimeSkew { get; }

Property Value

TimeSpan

MinCipherStrength

public int MinCipherStrength { get; }

Property Value

int

MinHashStrength

public int MinHashStrength { get; }

Property Value

int

MinKeyExchangeStrength

public int MinKeyExchangeStrength { get; }

Property Value

int

MinReconnectWait

Delay before we try reconnecting to server after we got disconnected (min)

public TimeSpan MinReconnectWait { get; }

Property Value

TimeSpan

Port

Server port number

public int Port { get; }

Property Value

int

ReceiveBufferSize

Message line buffer size. Complete message line should fit in here.

public int ReceiveBufferSize { get; }

Property Value

int

ReceiveTimeout

Amount of time to wait for (socket) receive operation to complete successfully

public TimeSpan ReceiveTimeout { get; }

Property Value

TimeSpan

RequestLimiter

Limits the number of requests a client can send in a given time frame.

public IRateGate RequestLimiter { get; }

Property Value

IRateGate

RestartOnParseError

If true, the feed will reconnect on any parse error

public bool RestartOnParseError { get; }

Property Value

bool

SSLThumbPrint

public string SSLThumbPrint { get; }

Property Value

string

SchemaStrictness

XSD schema validation strictness. Can be OFF, ON, STRICT or VERY STRICT

public SchemaValidationStrictness SchemaStrictness { get; }

Property Value

SchemaValidationStrictness

ScoutPassword

Scout client password

public SecureString ScoutPassword { get; }

Property Value

SecureString

ScoutUsername

Scout client username

public string ScoutUsername { get; }

Property Value

string

SendClientTimeInRequest

Whether client UTC time should be included in every request message (LiveOdds).

public bool SendClientTimeInRequest { get; }

Property Value

bool

SendClientVersionInLogin

Whether client version should be sent in login.

public bool SendClientVersionInLogin { get; }

Property Value

bool

SendTimeout

Amount of time to wait for (socket) send operation to complete successfully

public TimeSpan SendTimeout { get; }

Property Value

TimeSpan

ServerAliveMsgTimeout

Server alive message timeout

public TimeSpan ServerAliveMsgTimeout { get; }

Property Value

TimeSpan

TotalBufferSize

Total message buffer size. A complete XML message should fit in here.

public int TotalBufferSize { get; }

Property Value

int

TrafficLogLevel

Specifies log level threshold used while logging incoming and outgoing traffic (live feed messages).

public Level TrafficLogLevel { get; }

Property Value

Level

UseSSL

Use secure sockets for communication.

public bool UseSSL { get; }

Property Value

bool

Methods

Clone()

Creates a new object that is a copy of the current instance.

public object Clone()

Returns

object

A new object that is a copy of this instance.