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
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingEntityEventHandler(int id, int dispatcherCount, LiveScoutFeedListener listener, LiveScoutFeed feed) Initializes a new instance of theEntityEventHandlerclass -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddispatchFullMatchUpdateReceived(MatchUpdateEntity matchUpdate) protected voiddispatchLineups(LineupsEntity lineupsEntity) protected voiddispatchMatchBooking(MatchBookingEntity matchBookingEntity) protected voiddispatchMatchData(MatchDataEntity matchData) protected voiddispatchMatchList(MatchListEntity matchList) protected voiddispatchMatchListUpdate(MatchListUpdateEntity matchListUpdate) protected voiddispatchMatchStop(MatchStopEntity matchStopEntity) protected voiddispatchMatchUpdate(MatchUpdateEntity matchUpdate) protected voiddispatchOnMatchDeltaUpdateDeltaReceived(MatchUpdateEntity matchUpdate) protected voiddispatchOnMatchDeltaUpdateReceived(MatchUpdateEntity matchUpdate) protected voiddispatchServerTime(ServerTimeEntity entity) Methods inherited from class com.sportradar.livedata.sdk.dispatch.livescout.EntityEventHandler
dispatchFullPaginatedMatchUpdateReceived, onEvent
-
Constructor Details
-
LoggingEntityEventHandler
public LoggingEntityEventHandler(int id, int dispatcherCount, LiveScoutFeedListener listener, LiveScoutFeed feed) Initializes a new instance of theEntityEventHandlerclass- Parameters:
id- The id of the currentEntityEventHandlerused to determine which messages will be processed by the current instance.dispatcherCount- The number ofEntityEventHandlerinstances handling user eventslistener- TheLiveScoutFeedListenerinstance used to inform the user about incoming messagesfeed- TheLiveScoutFeedwhich will be passed to method calls on the user provided listener
-
-
Method Details
-
dispatchFullMatchUpdateReceived
- Overrides:
dispatchFullMatchUpdateReceivedin classEntityEventHandler
-
dispatchLineups
- Overrides:
dispatchLineupsin classEntityEventHandler
-
dispatchMatchBooking
- Overrides:
dispatchMatchBookingin classEntityEventHandler
-
dispatchMatchData
- Overrides:
dispatchMatchDatain classEntityEventHandler
-
dispatchMatchList
- Overrides:
dispatchMatchListin classEntityEventHandler
-
dispatchMatchListUpdate
- Overrides:
dispatchMatchListUpdatein classEntityEventHandler
-
dispatchMatchStop
- Overrides:
dispatchMatchStopin classEntityEventHandler
-
dispatchMatchUpdate
- Overrides:
dispatchMatchUpdatein classEntityEventHandler
-
dispatchOnMatchDeltaUpdateDeltaReceived
- Overrides:
dispatchOnMatchDeltaUpdateDeltaReceivedin classEntityEventHandler
-
dispatchOnMatchDeltaUpdateReceived
- Overrides:
dispatchOnMatchDeltaUpdateReceivedin classEntityEventHandler
-
dispatchServerTime
- Overrides:
dispatchServerTimein classEntityEventHandler
-