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
Represents a
Message associated with a sport event-
Method Summary
Modifier and TypeMethodDescriptiongetEvent()Returns the competition/match/race/outright this odds update is forbyte[]Returns the raw message as received from the producerReturns the request id of the current messageMethods 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
-