public interface LiveOddsTestManager extends TestManager
Modifier and Type | Method and Description |
---|---|
void |
changeXmlConfig(int configId,
boolean enable,
boolean reset)
Sends XML config change request.
|
void |
endAll(Boolean persistent)
End all replays.
|
void |
resetXmlConfig()
Sends <XmlConfig reset="true" />
Forces xml config update.
|
void |
startAuto()
Start 48h delayed replay of live data.
|
void |
startEventReplay(EventIdentifier id)
Start replay for a given event (must have ended at least on hour ago).
|
void |
startEventReplay(EventIdentifier id,
TestDelay skipDelay,
Integer speed,
Boolean persistent)
Start replay for a given event (must have ended at least on hour ago).
|
void |
startScenario(int scenario)
Start a test scenario
|
void |
startScenario(int scenario,
TestDelay skipDelay,
Integer speed,
Boolean persistent)
Start a test scenario
|
void |
stopAuto()
Stop 12h delayed replay of live data
|
isEnabled
void endAll(Boolean persistent)
persistent
- if true also ends persistent matchesvoid changeXmlConfig(int configId, boolean enable, boolean reset)
configId
- config option id to modifyenable
- enable or disable the config optionreset
- reset the XML configuration to the default configurationvoid resetXmlConfig()
void startAuto()
void startEventReplay(EventIdentifier id)
id
- - id of the eventvoid startEventReplay(EventIdentifier id, TestDelay skipDelay, Integer speed, Boolean persistent)
id
- - id of the eventskipDelay
- - specifies how deep in the event should we skip. Pass null if you do not wish to specify thisspeed
- The amount of milliseconds between messages. This can be used to speed up the replay of a match. Pass null if you do not wish to specify thispersistent
- If multiple clients are logged in with the same client id they will all receive the XML messages for the started match.
If one of the clients disconnects, the messages will still be sent to the other clients.
After reconnecting, the disconnected client will receive all messages from that point on again.
Pass null if you do not wish to specify thisvoid startScenario(int scenario)
scenario
- Nr 1, 2, 4, 5, 6, 7, 8 and 9 will be short testes that last for around 15 minutes each.
Nr 1 and 4 will contain a soccer match, test 2 a tennis match, test nr 5 will contain an Ice Hockey match,
test nr 6 contains a basketball match, test nr 7 contains a Handball match, test nr 8 contains a Volleyball match
and test nr 9 contains a Beach Volleyball match. It will contain all possible messages.
Test nr 3 and 10 will be a full recording of an actual day, and will last for several hours.void startScenario(int scenario, TestDelay skipDelay, Integer speed, Boolean persistent)
scenario
- Nr 1, 2, 4, 5, 6, 7, 8 and 9 will be short testes that last for around 15 minutes each.
Nr 1 and 4 will contain a soccer match, test 2 a tennis match, test nr 5 will contain an Ice Hockey match,
test nr 6 contains a basketball match, test nr 7 contains a Handball match, test nr 8 contains a Volleyball match
and test nr 9 contains a Beach Volleyball match. It will contain all possible messages.
Test nr 3 and 10 will be a full recording of an actual day, and will last for several hours.skipDelay
- - how long into the scenario to skip. Pass null if you do not wish to specify thisspeed
- The amount of milliseconds between messages. This can be used to speed up the replay of a match. Pass null if you do not wish to specify thispersistent
- If multiple clients are logged in with the same client id they will all receive the XML messages for the started match.
If one of the clients disconnects, the messages will still be sent to the other clients.
After reconnecting, the disconnected client will receive all messages from that point on again.
Pass null if you do not wish to specify thisvoid stopAuto()
Copyright © 2013–2023. All rights reserved.