Class LoggingEntityEventHandler
- java.lang.Object
-
- com.sportradar.livedata.sdk.dispatch.livescout.EntityEventHandler
-
- com.sportradar.livedata.sdk.dispatch.livescout.LoggingEntityEventHandler
-
- All Implemented Interfaces:
com.lmax.disruptor.EventHandler<LiveScoutDispatcherContainer>
- Direct Known Subclasses:
StatisticsLiveScoutEntityEventHandler
public class LoggingEntityEventHandler extends EntityEventHandler
-
-
Constructor Summary
Constructors Constructor Description LoggingEntityEventHandler(int id, int dispatcherCount, LiveScoutFeedListener listener, LiveScoutFeed feed)
Initializes a new instance of theEntityEventHandler
class
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
dispatchFullMatchUpdateReceived(MatchUpdateEntity matchUpdate)
protected void
dispatchLineups(LineupsEntity lineupsEntity)
protected void
dispatchMatchBooking(MatchBookingEntity matchBookingEntity)
protected void
dispatchMatchData(MatchDataEntity matchData)
protected void
dispatchMatchList(MatchListEntity matchList)
protected void
dispatchMatchListUpdate(MatchListUpdateEntity matchListUpdate)
protected void
dispatchMatchStop(MatchStopEntity matchStopEntity)
protected void
dispatchMatchUpdate(MatchUpdateEntity matchUpdate)
protected void
dispatchOnMatchDeltaUpdateDeltaReceived(MatchUpdateEntity matchUpdate)
protected void
dispatchOnMatchDeltaUpdateReceived(MatchUpdateEntity matchUpdate)
protected void
dispatchServerTime(ServerTimeEntity entity)
-
Methods inherited from class com.sportradar.livedata.sdk.dispatch.livescout.EntityEventHandler
dispatchFullPaginatedMatchUpdateReceived, onEvent
-
-
-
-
Constructor Detail
-
LoggingEntityEventHandler
public LoggingEntityEventHandler(int id, int dispatcherCount, LiveScoutFeedListener listener, LiveScoutFeed feed)
Initializes a new instance of theEntityEventHandler
class- Parameters:
id
- The id of the currentEntityEventHandler
used to determine which messages will be processed by the current instance.dispatcherCount
- The number ofEntityEventHandler
instances handling user eventslistener
- TheLiveScoutFeedListener
instance used to inform the user about incoming messagesfeed
- TheLiveScoutFeed
which will be passed to method calls on the user provided listener
-
-
Method Detail
-
dispatchFullMatchUpdateReceived
protected void dispatchFullMatchUpdateReceived(MatchUpdateEntity matchUpdate)
- Overrides:
dispatchFullMatchUpdateReceived
in classEntityEventHandler
-
dispatchLineups
protected void dispatchLineups(LineupsEntity lineupsEntity)
- Overrides:
dispatchLineups
in classEntityEventHandler
-
dispatchMatchBooking
protected void dispatchMatchBooking(MatchBookingEntity matchBookingEntity)
- Overrides:
dispatchMatchBooking
in classEntityEventHandler
-
dispatchMatchData
protected void dispatchMatchData(MatchDataEntity matchData)
- Overrides:
dispatchMatchData
in classEntityEventHandler
-
dispatchMatchList
protected void dispatchMatchList(MatchListEntity matchList)
- Overrides:
dispatchMatchList
in classEntityEventHandler
-
dispatchMatchListUpdate
protected void dispatchMatchListUpdate(MatchListUpdateEntity matchListUpdate)
- Overrides:
dispatchMatchListUpdate
in classEntityEventHandler
-
dispatchMatchStop
protected void dispatchMatchStop(MatchStopEntity matchStopEntity)
- Overrides:
dispatchMatchStop
in classEntityEventHandler
-
dispatchMatchUpdate
protected void dispatchMatchUpdate(MatchUpdateEntity matchUpdate)
- Overrides:
dispatchMatchUpdate
in classEntityEventHandler
-
dispatchOnMatchDeltaUpdateDeltaReceived
protected void dispatchOnMatchDeltaUpdateDeltaReceived(MatchUpdateEntity matchUpdate)
- Overrides:
dispatchOnMatchDeltaUpdateDeltaReceived
in classEntityEventHandler
-
dispatchOnMatchDeltaUpdateReceived
protected void dispatchOnMatchDeltaUpdateReceived(MatchUpdateEntity matchUpdate)
- Overrides:
dispatchOnMatchDeltaUpdateReceived
in classEntityEventHandler
-
dispatchServerTime
protected void dispatchServerTime(ServerTimeEntity entity)
- Overrides:
dispatchServerTime
in classEntityEventHandler
-
-