Interface EventMessage<T extends SportEvent>

All Superinterfaces:
Message
All Known Subinterfaces:
BetCancel<T>, BetSettlement<T>, BetStop<T>, CashOutProbabilities<T>, FixtureChange<T>, MarketMessage<T>, OddsChange<T>, RollbackBetCancel<T>, RollbackBetSettlement<T>
All Known Implementing Classes:
CashOutProbabilitiesImpl

public interface EventMessage<T extends SportEvent> extends Message
Represents a Message associated with a sport event
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the competition/match/race/outright this odds update is for
    byte[]
    Returns the raw message as received from the producer
    Returns the request id of the current message

    Methods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.Message

    getProducer, getTimestamps
  • Method Details

    • getEvent

      T getEvent()
      Returns the competition/match/race/outright this odds update is for
      Returns:
      the competition/match this odds update is for
    • getRequestId

      Long getRequestId()
      Returns the request id of the current message
      Returns:
      the request id of the current message
    • getRawMessage

      byte[] getRawMessage()
      Returns the raw message as received from the producer
      Returns:
      the raw message as received from the producer