Class LiveScoutTestManagerImpl
- java.lang.Object
-
- com.sportradar.livedata.sdk.feed.common.LiveFeedTestManagerBase
-
- com.sportradar.livedata.sdk.feed.livescout.classes.LiveScoutTestManagerImpl
-
- All Implemented Interfaces:
TestManager
,LiveScoutTestManager
public class LiveScoutTestManagerImpl extends LiveFeedTestManagerBase implements LiveScoutTestManager
Represents a class used to drive the LiveScout test server
-
-
Field Summary
-
Fields inherited from class com.sportradar.livedata.sdk.feed.common.LiveFeedTestManagerBase
protocol
-
-
Constructor Summary
Constructors Constructor Description LiveScoutTestManagerImpl(Protocol protocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled()
Is the test manager available?void
subscribe(EventIdentifier id, TestDelayWithSpeed delay)
Subscribe to an event-
Methods inherited from class com.sportradar.livedata.sdk.feed.common.LiveFeedTestManagerBase
send
-
-
-
-
Constructor Detail
-
LiveScoutTestManagerImpl
public LiveScoutTestManagerImpl(Protocol protocol)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
Is the test manager available?- Specified by:
isEnabled
in interfaceTestManager
- Returns:
- - false when not in test mode; true else
-
subscribe
public void subscribe(EventIdentifier id, TestDelayWithSpeed delay)
Subscribe to an event- Specified by:
subscribe
in interfaceLiveScoutTestManager
- Parameters:
id
- - event iddelay
- - start message number can be specified and a speed how fast new events arrive
-
-