Package com.sportradar.unifiedodds.sdk
Interface UofSessionBuilder
public interface UofSessionBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()This function creates the newly configured session using the supplied message interest and listenerssetListener(UofListener listener) setMessageInterest(MessageInterest msgInterest) setSpecificEventsOnly(Urn specificEventsOnly) setSpecificEventsOnly(Set<Urn> specificEventsOnly)
-
Method Details
-
setListener
- Parameters:
listener- the main odds feed listener- Returns:
- the current session builder
-
setMessageInterest
- Parameters:
msgInterest- the message level that the current session should receive- Returns:
- the current session builder
-
setSpecificEventsOnly
- Parameters:
specificEventsOnly- the specific target events- Returns:
- the current session builder
-
setSpecificEventsOnly
- Parameters:
specificEventsOnly- the specific target events- Returns:
- the current session builder
-
build
UofSession build()This function creates the newly configured session using the supplied message interest and listeners- Returns:
- - the session instance
-