All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.sportradar.unifiedodds.sdk.caching.DataRouter Maven / Gradle / Ivy
/*
* Copyright (C) Sportradar AG. See LICENSE for full license governing this code
*/
package com.sportradar.unifiedodds.sdk.caching;
import com.sportradar.uf.custombet.datamodel.CAPIAvailableSelections;
import com.sportradar.uf.custombet.datamodel.CAPICalculationResponse;
import com.sportradar.uf.sportsapi.datamodel.*;
import com.sportradar.unifiedodds.sdk.custombetentities.Selection;
import com.sportradar.unifiedodds.sdk.impl.dto.SportEventStatusDTO;
import com.sportradar.utils.URN;
import java.util.List;
import java.util.Locale;
/**
* Created on 20/10/2017.
* // TODO @eti: Javadoc
*/
public interface DataRouter {
void onSummaryFetched(URN requestedId, Object data, Locale locale, CacheItem requester);
void onFixtureFetched(URN fixtureId, SAPIFixture fixture, Locale locale, CacheItem requester);
void onAllTournamentsListFetched(SAPITournamentsEndpoint endpoint, Locale locale);
void onTournamentScheduleFetched(Object endpoint, Locale locale);
void onDateScheduleFetched(SAPIScheduleEndpoint endpoint, Locale locale);
void onSportsListFetched(SAPISportsEndpoint endpoint, Locale locale);
void onPlayerFetched(URN playerId, SAPIPlayerExtended data, Locale locale, CacheItem requester);
void onCompetitorFetched(URN competitorId, SAPICompetitorProfileEndpoint data, Locale locale, CacheItem requester);
void onSimpleTeamFetched(URN competitorId, SAPISimpleTeamProfileEndpoint data, Locale locale, CacheItem requester);
void onTournamentSeasonsFetched(URN tournamentId, SAPITournamentSeasons data, Locale locale);
void onMatchTimelineFetched(URN matchId, SAPIMatchTimelineEndpoint endpoint, Locale locale, CacheItem requester);
void onSportCategoriesFetched(SAPISportCategoriesEndpoint endpoint, Locale locale, CacheItem requester);
void onDrawSummaryFetched(URN drawId, SAPIDrawSummary endpoint, Locale locale, CacheItem requester);
void onDrawFixtureFetched(URN drawId, SAPIDrawFixture endpoint, Locale locale, CacheItem requester);
void onAllLotteriesListFetched(SAPILotteries endpoint, Locale locale);
void onLotteryScheduleFetched(SAPILotterySchedule endpoint, Locale locale, CacheItem requester);
void onSportEventStatusFetched(URN eventId, SportEventStatusDTO statusDTO, String source);
void onAvailableSelectionsFetched(URN id, CAPIAvailableSelections availableSelections);
void onCalculateProbabilityFetched(List selections, CAPICalculationResponse calculation);
}