public interface OutrightsFeedListener<T extends LiveOddsWithOutrightsFeed>
Modifier and Type | Method and Description |
---|---|
void |
onAliveReceived(LiveOddsWithOutrightsFeed sender,
AliveWithOutrightsEntity entity)
Invoked by the observed
LiveOddsWithOutrightsListener implementation when it receives alive message from live-odds server. |
void |
onOutrightBetCancel(T sender,
OutrightBetCancelEntity entity)
Invoked by the observed
T implementation when it receives bet_cancel message from live-odds server. |
void |
onOutrightBetClear(T sender,
OutrightBetClearEntity entity)
Invoked by the observed
T implementation when it receives bet_clear message from live-odds server. |
void |
onOutrightBetStart(T sender,
OutrightBetStartEntity entity)
Invoked by the observed
T implementation when it receives bet_start message from live-odds server. |
void |
onOutrightBetStop(T sender,
OutrightBetStopEntity entity)
Invoked by the observed
T implementation when it receives bet_stop message from live-odds server. |
void |
onOutrightOddsChange(T sender,
OutrightOddsChangeEntity entity)
Invoked by the observed
T implementation when it receives odds_changed message from live-odds server. |
void |
onOutrightStatusReceived(T sender,
com.sportradar.sdk.feed.liveodds.classes.EventDataPackage entity)
Invoked by the observed
T implementation when it received the requested status of the specified outright. |
void onAliveReceived(LiveOddsWithOutrightsFeed sender, AliveWithOutrightsEntity entity)
LiveOddsWithOutrightsListener
implementation when it receives alive message from live-odds server.sender
- The LiveOddsWithOutrightsListener
sender of the event.entity
- The AliveWithOutrightsEntity
representing the received alive message.void onOutrightBetCancel(T sender, OutrightBetCancelEntity entity)
T
implementation when it receives bet_cancel message from live-odds server.sender
- The T
sender of the event.entity
- The OutrightBetCancelEntity
representing the received bet_cancel message.void onOutrightBetClear(T sender, OutrightBetClearEntity entity)
T
implementation when it receives bet_clear message from live-odds server.sender
- The T
sender of the event.entity
- The OutrightBetClearEntity
representing the received bet_clear message.void onOutrightBetStart(T sender, OutrightBetStartEntity entity)
T
implementation when it receives bet_start message from live-odds server.sender
- The T
sender of the event.entity
- The OutrightBetStartEntity
representing the received bet_start message.void onOutrightBetStop(T sender, OutrightBetStopEntity entity)
T
implementation when it receives bet_stop message from live-odds server.sender
- The T
sender of the event.entity
- The OutrightBetStopEntity
representing the received bet_stop message.void onOutrightOddsChange(T sender, OutrightOddsChangeEntity entity)
T
implementation when it receives odds_changed message from live-odds server.sender
- The T
sender of the event.entity
- The OutrightOddsChangeEntity
representing the received odds_changed message.void onOutrightStatusReceived(T sender, com.sportradar.sdk.feed.liveodds.classes.EventDataPackage entity)
T
implementation when it received the requested status of the specified outright.sender
- The T
sender of the event.entity
- the EventDataPackage
instance representing the current status of the specified outright.Copyright © 2013–2023. All rights reserved.