public static interface OddsFeedSessionBuilder.SessionBuilder
Modifier and Type | Method and Description |
---|---|
<T extends SportEvent> |
addSportSpecificListener(com.sportradar.unifiedodds.sdk.GenericOddsFeedListener<T> sportSpecificListener)
Sets the sport-specific listener which will be used to notify outside world a message
associated with that sport was received
|
OddsFeedSession |
build()
Builds and returns a
OddsFeedSession implementation |
<T extends SportEvent> OddsFeedSessionBuilder.SessionBuilder addSportSpecificListener(com.sportradar.unifiedodds.sdk.GenericOddsFeedListener<T> sportSpecificListener)
T
- A SportEvent
derived type specifying the type of sport event this
listener can handlesportSpecificListener
- A sport-specific listenerOddsFeedSessionBuilder.SessionBuilder
used to build OddsFeedSession
instancesOddsFeedSession build() throws IOException
OddsFeedSession
implementationOddsFeedSession
implementationIOException
- if some IO problem happensCopyright © 2016–2017. All rights reserved.