Modifier and Type | Method and Description |
---|---|
default IBetEvent |
IBetMatch.event(java.lang.String eventId)
Retrieve a specific event with the particular eventId
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends IBetEvent> |
IBetMatch.events()
Retrieve collection of events
|
default java.util.Collection<? extends IBetEvent> |
IBetMatch.events(EventType type)
Retrieve collection of events if there are given event type records in this event
|
Modifier and Type | Interface and Description |
---|---|
interface |
IBMultiEvent<R extends IBMultiRecord> |
Modifier and Type | Interface and Description |
---|---|
interface |
IB2Event
IB2Event is the interface for all the information for a two participants event
|
Modifier and Type | Interface and Description |
---|---|
interface |
BasketballEvent
A representation of basketball events which only have two participants
|
Modifier and Type | Class and Description |
---|---|
class |
BetEventState<E extends IBetEvent> |
Modifier and Type | Class and Description |
---|---|
class |
B2Event |
class |
BetEvent |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<? extends IBetEvent> |
BetMatch.events()
Retrieve collection of events
|
Constructor and Description |
---|
BetMatch(long startTime,
java.util.Collection<? extends IBetEvent> events,
java.lang.String id,
java.lang.String league,
SportType sport,
java.util.Map<java.lang.String,java.lang.String> meta) |
Modifier and Type | Interface and Description |
---|---|
interface |
SoccerEvent
A representation of soccer events which only have two participants
|
Modifier and Type | Interface and Description |
---|---|
interface |
TennisEvent
A representation of tennis events which only have two participants
|
Modifier and Type | Class and Description |
---|---|
class |
DeleteEvent<E extends IBetEvent>
This class is used when events are deleted in snapshot.
|
interface |
DeltaEventHandler<M extends IBetMatch,E extends IBetEvent,R extends IBetRecord>
DeltaEventHandler handles delta snapshots.The function that will be triggered first is onFullSnapshotStart().The onFullSnapshotStart() indicates that this is the begining of the full snapshot.The following message will be the onInsertMatch and the very first onInsertMatch will contain the events and odds in the INSERT_MATCH message.Subsequently will receive onInsertEvent message followed by onInsertOdd.The onFullSnapshotEnd() indicates that the full snapshot is received completely.
For Match Insertion in sequence will be: 1.onInsertMatch 2.onInsertEvent (insert event always appear before a child insert odd msg) 3.onInsertOdd For Match Deletion in sequence will be: 1.onDeleteOdd (an odd always be deleted before the parent event is removed) 2.onDeleteEvent 3.onDeleteMatch Implement this interface to call methods whenever there is change is snapshot data |
class |
InsertEvent<E extends IBetEvent>
This class is used when events are inserted in snapshot.
|
class |
UpdateEvent<E extends IBetEvent>
This class is used when events are updated in snapshot.
|
Modifier and Type | Method and Description |
---|---|
<E extends IBetEvent,R extends IBetRecord> |
FeedView.register(DeltaEventHandler<M,E,R> listener)
Register DeltaEventHandler to the view
|
<E extends IBetEvent,R extends IBetRecord> |
FeedView.unregister(DeltaEventHandler<M,E,R> listener)
Deregister DeltaEventHandler from the view
|
Modifier and Type | Method and Description |
---|---|
boolean |
ScoreFilterRule.isComplied(IBetEvent event) |
boolean |
EventTypeFilterRule.isComplied(IBetEvent event) |
boolean |
MatchEventIdFilterRule.isComplied(IBetEvent event) |
boolean |
DurationRangeFilterRule.isComplied(IBetEvent event) |
boolean |
RedcardFilterRule.isComplied(IBetEvent event) |
boolean |
EventIdFilterRule.isComplied(IBetEvent event) |