Click or drag to resize

ILiveOddsCommonBase Events

The ILiveOddsCommonBase type exposes the following members.

Events
 NameDescription
Public eventOnBetCancel Signals that odds type for a match should be cancelled due to some reason. All bets accepted on the odds with that Id should be cancelled and cashed out with an odd of 1,0 (stakes returned). If the starttime and endtime are also specified, then only bets accepted in this interval should be cancelled. The starttime and endtime are timestamps in UTC.
Public eventOnBetCancelUndo Signals that an odds type has been cancelled due to some reason when it actually shouldnt have been. This can be undone. The Odds element should match the Odds element in the corresponding OnCancelBet event. The same goes for the starttime and endtime - they should match the values in the OnCancelBet event.
Public eventOnBetClear

Signals that situation occurred during the match so that a bet can be decided. Timestamp - time indicates the time at which the bet clear event happened. The event also contains the cleared score with an Odds element indicating the odds type, and this again with each EventOddsField, and the status of the outcomes (true/false).

Id in the Odds element corresponds to the Odds elements in one of the previous OnOddsChange events. Evaluation of the bet outcomes is the responsibility of the client system.

Public eventOnBetClearRollback Signals that there was some wrong information sent out about bet clearing. Notification includes the Odds element that rollback is targeted to. The clearedscore contains the cleared score of the original bet clearing. The time for the original bet clearing is timestamp – time seconds. The Odds element includes a list of EventOddsField elements to indicate what field was cleared in the original bet clearing. The Client system is responsible to handle this accordingly.
Public eventOnBetStart Signals that bets for a specific match can open again after they have been stopped.
Public eventOnBetStop Signals that a bet stop situation occurred for a specific match. OnBetStart event is triggered when the bets can open again.
Public eventOnConnectionStable Signals that the initial sync is complete and the connection to the server is stable.
Public eventOnConnectionUnstable Signals that the connection is unstable.
Public eventOnEventMessages Signals that all of the requested match messages were received.
Public eventOnEventStatus Signals that a requested match status was received.
Public eventOnFeedError Signals that a feed error has occurred (e.g. we got disconnected from the feed server, XML message parsing error occurred).
(Inherited from ILiveFeeds)
Public eventOnMetaInfo Event contains information like the date and time of the match, sport, category, tournament, teams and what TV-channels a match is broadcasted on. When a match is removed, Active is set to false for the match with an optional textual reason why the match has been removed. Active flag can also set to false if the client has unregistered a match. The message element will include the text unregistered in such cases. Match meta-information will also be broadcasted when a match is added to the system, or when a match has been cancelled.
Public eventOnOddsChange Signals that an odds change has occurred, specifying all odds types for a particular match. Odds types that are active will contain odds fields, while inactive odds types will not. Each odds type also has a Changed flag indicating whether this odds type has been changed or not. Score indicates the current score in the match.
Top
See Also