MtsSdk Members
The MtsSdk type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close |
Closes the current IMtsSdk instance and disposes resources used by it
|
|
CreateConfigurationBuilder |
Creates the ISdkConfigurationBuilder for building the ISdkConfiguration
|
|
GetConfiguration |
Constructs a ISdkConfiguration instance with information read from application configuration file
|
|
Open |
Opens the current feed
|
|
SendTicket |
Sends the ticket to the MTS server. The response will raise TicketResponseReceived event
|
|
SendTicketBlocking |
Sends the ticket to the MTS server and wait for the response message on the feed
|
|
SendTicketCancelBlocking |
Sends the cancel ticket to the MTS server and wait for the response message on the feed
|
|
SendTicketCashoutBlocking |
Sends the cashout ticket to the MTS server and wait for the response message on the feed
|
|
SendTicketNonSrSettleBlocking |
Sends the cashout ticket to the MTS server and wait for the response message on the feed
|
Properties
Name | Description | |
---|---|---|
BuilderFactory |
Gets the IBuilderFactory instance used to construct builders with some
of the properties pre-loaded from the configuration
|
|
ClientApi |
Gets the IMtsClientApi instance used to send requests to MTS REST API
|
|
ConnectionStatus |
Gets the connection status.
|
|
CustomBetManager |
Gets a ICustomBetManager instance used to perform various custom bet operations
|
|
IsOpened |
Gets a value indicating whether the current instance is opened
|
Events
Name | Description | |
---|---|---|
SendTicketFailed |
Raised when the attempt to send ticket failed
|
|
TicketResponseReceived |
Raised when the current instance of IMtsSdk received ITicketResponse
|
|
TicketResponseTimedOut |
Raised when the current instance of IMtsSdk did not receive ITicketResponse within timeout
|
|
UnparsableTicketResponseReceived |
Raised when a message which cannot be parsed is received
|