Interface StatusFactory
-
- All Known Implementing Classes:
LiveScoutStatusFactory
public interface StatusFactory
Represents a class used to build requests to be send to the betradar feed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutgoingMessage
buildLoginRequest(String username, String password)
Constructs and returns aOutgoingMessage
representing a log-in request.OutgoingMessage
buildLogOutRequest()
Constructs and returns aOutgoingMessage
representing a log-out request.
-
-
-
Method Detail
-
buildLoginRequest
OutgoingMessage buildLoginRequest(String username, String password)
Constructs and returns aOutgoingMessage
representing a log-in request.- Parameters:
username
- the bookmaker's usernamepassword
- the bookmaker's password- Returns:
- a
OutgoingMessage
representing a log-in request.
-
buildLogOutRequest
OutgoingMessage buildLogOutRequest()
Constructs and returns aOutgoingMessage
representing a log-out request.- Returns:
- a
OutgoingMessage
representing a log-out request or a null reference if protocol associate with the current factory does not support log-out
-
-