Class EntityEventHandler

java.lang.Object
com.sportradar.livedata.sdk.dispatch.livescout.EntityEventHandler
All Implemented Interfaces:
com.lmax.disruptor.EventHandler<LiveScoutDispatcherContainer>
Direct Known Subclasses:
LoggingEntityEventHandler

public abstract class EntityEventHandler extends Object implements com.lmax.disruptor.EventHandler<LiveScoutDispatcherContainer>
A EventHandler implementation used to dispatch live-scout related entities to the user.
  • Constructor Details

  • Method Details

    • onEvent

      public void onEvent(LiveScoutDispatcherContainer entityContainer, long sequenceNumber, boolean isEndOfBatch)
      Invoked by the disruptor when a message is ready to be processed by the current handler.
      Specified by:
      onEvent in interface com.lmax.disruptor.EventHandler<LiveScoutDispatcherContainer>
      Parameters:
      entityContainer - The JaxbLiveScoutEntityFactory containing the information about the message to be raised.
      sequenceNumber - The ring buffer's sequence number of the current item.
      isEndOfBatch - Specifies whether the current item is the last of the available item batch.
    • dispatchLineups

      protected void dispatchLineups(LineupsEntity entity)
    • dispatchMatchBooking

      protected void dispatchMatchBooking(MatchBookingEntity entity)
    • dispatchMatchData

      protected void dispatchMatchData(MatchDataEntity entity)
    • dispatchMatchList

      protected void dispatchMatchList(MatchListEntity entity)
    • dispatchMatchListUpdate

      protected void dispatchMatchListUpdate(MatchListUpdateEntity entity)
    • dispatchMatchStop

      protected void dispatchMatchStop(MatchStopEntity entity)
    • dispatchMatchUpdate

      protected void dispatchMatchUpdate(MatchUpdateEntity matchUpdate)
    • dispatchFullMatchUpdateReceived

      protected void dispatchFullMatchUpdateReceived(MatchUpdateEntity matchUpdate)
    • dispatchFullPaginatedMatchUpdateReceived

      protected void dispatchFullPaginatedMatchUpdateReceived(MatchUpdateEntity matchUpdate)
    • dispatchOnMatchDeltaUpdateDeltaReceived

      protected void dispatchOnMatchDeltaUpdateDeltaReceived(MatchUpdateEntity matchUpdate)
    • dispatchOnMatchDeltaUpdateReceived

      protected void dispatchOnMatchDeltaUpdateReceived(MatchUpdateEntity matchUpdate)
    • dispatchServerTime

      protected void dispatchServerTime(ServerTimeEntity entity)