Click or drag to resize

MtsSdk Class

A IMtsSdk implementation acting as an entry point to the MTS SDK
Inheritance Hierarchy
SystemObject
  Sportradar.MTS.SDK.APIMtsSdk

Namespace: Sportradar.MTS.SDK.API
Assembly: Sportradar.MTS.SDK (in Sportradar.MTS.SDK.dll) Version: 2.4.1.2

The MtsSdk type exposes the following members.

Constructors
 NameDescription
Public methodMtsSdk Constructs a new instance of the MtsSdk class
Top
Properties
 NameDescription
Public propertyBuilderFactory Gets the IBuilderFactory instance used to construct builders with some of the properties pre-loaded from the configuration
Public propertyClientApi Gets the IMtsClientApi instance used to send requests to MTS REST API
Public propertyConnectionStatus Gets the connection status.
Public propertyCustomBetManager Gets a ICustomBetManager instance used to perform various custom bet operations
Public propertyIsOpened Gets a value indicating whether the current instance is opened
Public propertyReportManager Gets a IReportManager instance used to get various reports
Top
Methods
 NameDescription
Public methodClose Closes the current IMtsSdk instance and disposes resources used by it
Public methodStatic memberCreateConfigurationObsolete.
Constructs a ISdkConfiguration instance from provided information
Public methodStatic memberCreateConfigurationBuilder Creates the ISdkConfigurationBuilder for building the ISdkConfiguration
Public methodDispose Disposes the current instance and resources associated with it
Protected methodDispose(Boolean) Disposes the current instance and resources associated with it
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodStatic memberGetConfiguration Constructs a ISdkConfiguration instance with information read from application configuration file
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOpen Opens the current feed
Public methodSendTicket Sends the ticket to the MTS server. The response will raise TicketResponseReceived event
Public methodSendTicketBlocking Sends the ticket to the MTS server and wait for the response message on the feed
Public methodSendTicketCancelBlocking Sends the cancel ticket to the MTS server and wait for the response message on the feed
Public methodSendTicketCashoutBlocking Sends the cashout ticket to the MTS server and wait for the response message on the feed
Public methodSendTicketNonSrSettleBlocking Sends the cashout ticket to the MTS server and wait for the response message on the feed
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventSendTicketFailed Raised when the attempt to send ticket failed
Public eventTicketResponseReceived Raised when the current instance of IMtsSdk received ITicketResponse
Public eventTicketResponseTimedOut Raised when the current instance of IMtsSdk did not receive ITicketResponse within timeout
Public eventUnparsableTicketResponseReceived Raised when a message which cannot be parsed is received
Top
See Also