Class LiveScoutOutgoingMessageFactory
java.lang.Object
com.sportradar.livedata.sdk.proto.livescout.LiveScoutOutgoingMessageFactory
A factory used to generate
OutgoingMessage representing live-scout server requests.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildLoginRequest(String username, String password, String accessToken) Constructs and returns aOutgoingMessagerepresenting a log-in request.Constructs and returns aOutgoingMessagerepresenting a log-out request.buildMatchBooking(long matchId) buildMatchList(int hoursBack, int hoursForward, boolean includeAvailable, Collection<Integer> sportIds, Collection<Long> matchIds, UUID requestId) buildMatchSubscribe(Iterable<Long> matchIds) buildMatchUnsubscribe(Iterable<Long> matchIds)
-
Constructor Details
-
LiveScoutOutgoingMessageFactory
-
-
Method Details
-
buildLoginRequest
Constructs and returns aOutgoingMessagerepresenting a log-in request.- Parameters:
username- The usernamepassword- The password.- Returns:
- a
OutgoingMessagerepresenting a log-in request.
-
buildLogOutRequest
Constructs and returns aOutgoingMessagerepresenting a log-out request.- Returns:
- a
OutgoingMessagerepresenting a log-out request or a null reference if protocol associate with the current factory does not support log-out
-
buildMatchBooking
-
buildMatchSubscribe
-
buildMatchUnsubscribe
-
buildMatchList
public OutgoingMessage buildMatchList(int hoursBack, int hoursForward, boolean includeAvailable, Collection<Integer> sportIds, Collection<Long> matchIds, UUID requestId) -
buildAlive
-
buildServerTimeRequest
-