public interface LiveOddsWithOutrightsFeed extends LiveOddsBasedFeed
Modifier and Type | Method and Description |
---|---|
long |
getOutrightsMeta(Iterable<Long> outrightIds)
Retrieves meta information for given outrights.
|
long |
getOutrightStatus(long outrightId,
boolean pack)
Retrieves the status of the outright specified by the
outrightId from the server |
void |
open(LiveOddsWithOutrightsListener listener)
Opens a communication channel to the server.
|
close, getEventList, getEventMessages, getEventMeta, getEventsStatus, getEventStatus, getFeedType
bookMatches, getSubscribedEvents, getTestManager, subscribe, unsubscribe
getConnectionParams
void open(LiveOddsWithOutrightsListener listener)
listener
- listener the LiveOddsWithOutrightsListener
implementation used to observe the LiveOddsWithOutrightsFeed
implementation.IllegalArgumentException
- if listener
is a null reference.IllegalStateException
- if the feed is already opened or disposed.long getOutrightStatus(long outrightId, boolean pack)
outrightId
from the serveroutrightId
- Specified the outright for which the current status will be retrieved.pack
- Specifies whether all messages should pa packaged in the EventDataPackage
instance.Copyright © 2013–2023. All rights reserved.