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 Detail

      • buildLoginRequest

        OutgoingMessage buildLoginRequest​(String username,
                                          String password)
        Constructs and returns a OutgoingMessage representing a log-in request.
        Parameters:
        username - the bookmaker's username
        password - the bookmaker's password
        Returns:
        a OutgoingMessage representing a log-in request.
      • buildLogOutRequest

        OutgoingMessage buildLogOutRequest()
        Constructs and returns a OutgoingMessage 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