public class Sdk extends Object implements AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the
Sdk instance and disposes all resources associated with it. |
static Sdk |
getInstance()
Gets the singleton
Sdk instance. |
LcooFeed |
getLcoo()
Gets the
LcooFeed implementation used to manage the life-cycle-of-odds feed. |
LiveOddsFeed |
getLiveOdds()
Gets the
LiveOddsFeed implementation used to manage the live-odds feed. |
LiveOddsFeed |
getLiveOddsBetpal()
Gets the
LiveOddsFeed implementation used to manage the live-odds BetPal feed. |
LiveOddsFeed |
getLiveOddsLivePlex()
Gets the
LiveOddsFeed implementation used to manage the live-odds LivePlex feed. |
LiveOddsFeed |
getLiveOddsSoccerRoulette()
Gets the
LiveOddsFeed implementation used to manage the live-odds soccer roulette feed. |
LiveOddsFeed |
getLiveOddsVbl()
Gets the
LiveOddsFeed implementation used to manage the live-odds vbl feed. |
RaceFeed |
getLiveOddsVdr()
Gets the
LiveOddsFeed implementation used to manage the live-odds virtual dog racing feed. |
LiveOddsWithOutrightsFeed |
getLiveOddsVfc()
Gets the
LiveOddsFeed implementation used to manage the live-odds virtual football cup feed. |
LiveOddsFeed |
getLiveOddsVfl()
Gets the
LiveOddsFeed implementation used to manage the live-odds vfl feed. |
RaceFeed |
getLiveOddsVhc()
Gets the
LiveOddsFeed implementation used to manage the live-odds vhc feed. |
LiveOddsFeed |
getLiveOddsVto()
Gets the
LiveOddsFeed implementation used to manage the live-odds vto feed. |
LiveScoutFeed |
getLiveScout()
Gets the
LiveScoutFeed implementation used to manage the live-scout feed. |
OddsCreatorFeed |
getOddsCreator()
Gets the
OddsCreatorFeed implementation used to manage the odds-creator feed. |
String |
getVersion()
Gets SDK version
|
static void |
init(Properties properties)
Initialize SDK with passed
Properties instance
Call to this method is optional. |
public void close()
Sdk
instance and disposes all resources associated with it.close
in interface AutoCloseable
public static Sdk getInstance() throws SdkException
Sdk
instance.Sdk
instance.MissingPropertyException
- A required property was not found in the configuration fileInvalidPropertyException
- The value(format) of the property was incorrect.MissingPropertyFileException
- If property file is not foundSdkException
public LcooFeed getLcoo()
LcooFeed
implementation used to manage the life-cycle-of-odds feed.LcooFeed
implementation used to manage the life-cycle-of-odds feed or a null reference if
life-cycle-of-odds related functionality is disabled in the configuration file.public LiveOddsFeed getLiveOdds()
LiveOddsFeed
implementation used to manage the live-odds feed.LiveOddsFeed
implementation used to manage the live-odds feed or a null reference if live-odds
related functionality is disabled in the configuration file.public LiveOddsWithOutrightsFeed getLiveOddsVfc()
LiveOddsFeed
implementation used to manage the live-odds virtual football cup feed.LiveOddsFeed
implementation used to manage the live-odds feed or a null reference if live-odds
related functionality is disabled in the configuration file.public LiveOddsFeed getLiveOddsBetpal()
LiveOddsFeed
implementation used to manage the live-odds BetPal feed.LiveOddsFeed
implementation used to manage the live-odds BetPal feed or a null reference if live-odds
related functionality is disabled in the configuration file.public LiveOddsFeed getLiveOddsLivePlex()
LiveOddsFeed
implementation used to manage the live-odds LivePlex feed.LiveOddsFeed
implementation used to manage the live-odds LivePlex feed or a null reference if live-odds
related functionality is disabled in the configuration file.public LiveOddsFeed getLiveOddsSoccerRoulette()
LiveOddsFeed
implementation used to manage the live-odds soccer roulette feed.LiveOddsFeed
implementation used to manage the live-odds soccer roulette or a null reference if live-odds
related functionality is disabled in the configuration file.public RaceFeed getLiveOddsVdr()
LiveOddsFeed
implementation used to manage the live-odds virtual dog racing feed.LiveOddsFeed
implementation used to manage the live-odds virtual dog racing or a null reference if live-odds
related functionality is disabled in the configuration file.public LiveOddsFeed getLiveOddsVbl()
LiveOddsFeed
implementation used to manage the live-odds vbl feed.LiveOddsFeed
implementation used to manage the live-odds vbl feed or a null reference if live-odds
related functionality is disabled in the configuration file.public LiveOddsFeed getLiveOddsVfl()
LiveOddsFeed
implementation used to manage the live-odds vfl feed.LiveOddsFeed
implementation used to manage the live-odds vfl feed or a null reference if live-odds
related functionality is disabled in the configuration file.public RaceFeed getLiveOddsVhc()
LiveOddsFeed
implementation used to manage the live-odds vhc feed.LiveOddsFeed
implementation used to manage the live-odds vhc feed or a null reference if live-odds
related functionality is disabled in the configuration file.public LiveOddsFeed getLiveOddsVto()
LiveOddsFeed
implementation used to manage the live-odds vto feed.LiveOddsFeed
implementation used to manage the live-odds vto feed or a null reference if live-odds
related functionality is disabled in the configuration file.public LiveScoutFeed getLiveScout()
LiveScoutFeed
implementation used to manage the live-scout feed.LiveScoutFeed
implementation used to manage the live-scout feed or a null reference if live-scout
related functionality is disabled in the configuration file.public OddsCreatorFeed getOddsCreator()
OddsCreatorFeed
implementation used to manage the odds-creator feed.OddsCreatorFeed
implementation used to manage the odds-creator feed or a null reference if odds-creator
related functionality is disabled in the configuration file.public String getVersion()
public static void init(Properties properties) throws SdkException
Properties
instance
Call to this method is optional. If you want initialize SDK
with properties read from properties file call getInstance()
directlyproperties
- SDK propertiesSdkException
- if there was an error in SDK initializationIllegalStateException
- if SDK is already initializedCopyright © 2013–2023. All rights reserved.