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
configISdkConfigurationget_local_configFunc<ISdkConfiguration, SdkConfigurationLiveFeed>typeFeedConfig.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
CipherSettings
SSL stream cipher settings.
public ICipherSettings CipherSettings { get; }
Property Value
ClientAliveMsgTimeout
Client alive message timeout
public TimeSpan ClientAliveMsgTimeout { get; }
Property Value
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
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
DoValidityCheck
Should connection provider do a quick validity check.
public bool DoValidityCheck { get; }
Property Value
Encoding
Communication channel character encoding
public Encoding Encoding { get; }
Property Value
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
Hostname
Server name
public string Hostname { get; }
Property Value
InvalidDataReconnectWait
Delay before we try reconnecting to server after we received some garbage data
public TimeSpan InvalidDataReconnectWait { get; }
Property Value
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
LoginLimiter
Limits the number of logins a client can perform in a given time frame.
public IRateGate LoginLimiter { get; }
Property Value
MaxReconnectWait
Delay before we try reconnecting to server after we got disconnected (max)
public TimeSpan MaxReconnectWait { get; }
Property Value
MaxTimeSkew
Max message timestamp skew. Zero to disable the check.
public TimeSpan MaxTimeSkew { get; }
Property Value
MinCipherStrength
public int MinCipherStrength { get; }
Property Value
MinHashStrength
public int MinHashStrength { get; }
Property Value
MinKeyExchangeStrength
public int MinKeyExchangeStrength { get; }
Property Value
MinReconnectWait
Delay before we try reconnecting to server after we got disconnected (min)
public TimeSpan MinReconnectWait { get; }
Property Value
Port
Server port number
public int Port { get; }
Property Value
ReceiveBufferSize
Message line buffer size. Complete message line should fit in here.
public int ReceiveBufferSize { get; }
Property Value
ReceiveTimeout
Amount of time to wait for (socket) receive operation to complete successfully
public TimeSpan ReceiveTimeout { get; }
Property Value
RequestLimiter
Limits the number of requests a client can send in a given time frame.
public IRateGate RequestLimiter { get; }
Property Value
RestartOnParseError
If true, the feed will reconnect on any parse error
public bool RestartOnParseError { get; }
Property Value
SSLThumbPrint
public string SSLThumbPrint { get; }
Property Value
SchemaStrictness
XSD schema validation strictness. Can be OFF, ON, STRICT or VERY STRICT
public SchemaValidationStrictness SchemaStrictness { get; }
Property Value
ScoutPassword
Scout client password
public SecureString ScoutPassword { get; }
Property Value
ScoutUsername
Scout client username
public string ScoutUsername { get; }
Property Value
SendClientTimeInRequest
Whether client UTC time should be included in every request message (LiveOdds).
public bool SendClientTimeInRequest { get; }
Property Value
SendClientVersionInLogin
Whether client version should be sent in login.
public bool SendClientVersionInLogin { get; }
Property Value
SendTimeout
Amount of time to wait for (socket) send operation to complete successfully
public TimeSpan SendTimeout { get; }
Property Value
ServerAliveMsgTimeout
Server alive message timeout
public TimeSpan ServerAliveMsgTimeout { get; }
Property Value
TotalBufferSize
Total message buffer size. A complete XML message should fit in here.
public int TotalBufferSize { get; }
Property Value
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
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.