Class TestDelay
java.lang.Object
com.sportradar.livedata.sdk.feed.common.TestDelay
- Direct Known Subclasses:
- TestDelayWithSpeed
Represents a delay specification for the test server.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic TestDelayfromDelay(org.joda.time.Duration skip) Constructs test delay instancestatic TestDelayfromMsgNr(int msgNr) Constructs test delay instancestatic TestDelayfromMsgNrAndSkip(int msgNr, org.joda.time.Duration skip) Constructs test delay instanceorg.joda.time.DurationgetDelay()Gets test skipgetMsgNr()Gets msngr to start with
- 
Field Details- 
msgNr
- 
delayprotected final org.joda.time.Duration delay
 
- 
- 
Constructor Details- 
TestDelay
 
- 
- 
Method Details- 
fromDelayConstructs test delay instance- Parameters:
- skip- interval to skip
- Returns:
- test delay instance
 
- 
fromMsgNrConstructs test delay instance- Parameters:
- msgNr- msg nr
- Returns:
- test delay instance
 
- 
fromMsgNrAndSkipConstructs test delay instance- Parameters:
- msgNr- msg nr
- skip- interval to skip
- Returns:
- test delay instance
 
- 
getDelaypublic org.joda.time.Duration getDelay()Gets test skip- Returns:
- test skip
 
- 
getMsgNrGets msngr to start with- Returns:
- starting msgnr
 
 
-