Table of Contents

Class ConnectionData

Namespace
Sportradar.LiveData.Sdk.Common.Types
Assembly
Sportradar.LiveData.Sdk.dll
public class ConnectionData : IConnectionData, ICloneable
Inheritance
ConnectionData
Implements
Inherited Members

Constructors

ConnectionData()

public ConnectionData()

Properties

CipherSettings

SSL stream cipher settings.

public virtual ICipherSettings CipherSettings { get; set; }

Property Value

ICipherSettings

ClientAliveMsgTimeout

Client alive message timeout

public virtual TimeSpan ClientAliveMsgTimeout { get; set; }

Property Value

TimeSpan

DisallowNonPrintableChars

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

public virtual bool DisallowNonPrintableChars { get; set; }

Property Value

bool

DoValidityCheck

Should connection provider do a quick validity check.

public virtual bool DoValidityCheck { get; set; }

Property Value

bool

Encoding

Communication channel character encoding

public virtual Encoding Encoding { get; set; }

Property Value

Encoding

Hostname

Server name

public virtual string Hostname { get; set; }

Property Value

string

InvalidDataReconnectWait

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

public virtual TimeSpan InvalidDataReconnectWait { get; set; }

Property Value

TimeSpan

MaxReconnectWait

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

public virtual TimeSpan MaxReconnectWait { get; set; }

Property Value

TimeSpan

MinReconnectWait

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

public virtual TimeSpan MinReconnectWait { get; set; }

Property Value

TimeSpan

Port

Server port number

public virtual int Port { get; set; }

Property Value

int

ReceiveBufferSize

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

public virtual int ReceiveBufferSize { get; set; }

Property Value

int

ReceiveTimeout

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

public virtual TimeSpan ReceiveTimeout { get; set; }

Property Value

TimeSpan

SendTimeout

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

public virtual TimeSpan SendTimeout { get; set; }

Property Value

TimeSpan

ServerAliveMsgTimeout

Server alive message timeout

public virtual TimeSpan ServerAliveMsgTimeout { get; set; }

Property Value

TimeSpan

TotalBufferSize

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

public virtual int TotalBufferSize { get; set; }

Property Value

int

UseSSL

Use secure sockets for communication.

public virtual bool UseSSL { get; set; }

Property Value

bool

Methods

Clone()

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

public virtual object Clone()

Returns

object

A new object that is a copy of this instance.