public abstract class LiveOddsEntityBase extends EntityBase
Modifier and Type | Method and Description |
---|---|
List<String> |
getMessages()
Gets the textual messages associated with the event.
|
Long |
getReplyNr()
Reply number matching the request number, thus enabling us to pair request and response messages properly.
|
OddsReplyType |
getReplyType()
Gets the type of the reply
|
OddsServerType |
getServerType()
Gets the type of the server this associated with the entity
|
String |
getServerVersion()
Gets the version of the live-odds server
|
OddsStatus |
getStatus()
Gets the
OddsStatus specifying the type of the current LiveOddsEntityBase |
Long |
getTimeOffset()
Gets time in seconds specifying when the event occurred in relation to the
getTimeStamp value |
org.joda.time.DateTime |
getTimeStamp()
Get the server time in UTC
|
Long |
getVirtualGameId()
Virtual game id.
|
Boolean |
isOutOfBand()
Gets a value indicating whether the reply is out of band - i.e.
|
void |
setOutOfBand(boolean outOfBand)
Sets a value indicating whether the reply is out of band - i.e.
|
String |
toString()
Returns a string that represents the current object.
|
getAdditionalData, getEventId
public List<String> getMessages()
public Long getReplyNr()
public OddsReplyType getReplyType()
public OddsServerType getServerType()
public String getServerVersion()
public OddsStatus getStatus()
OddsStatus
specifying the type of the current LiveOddsEntityBase
OddsStatus
specifying the type of the current LiveOddsEntityBase
public Long getTimeOffset()
getTimeStamp
valuegetTimeStamp
valuepublic org.joda.time.DateTime getTimeStamp()
public Long getVirtualGameId()
Note : If one server is used for multiple feeds this identifies the source.
public Boolean isOutOfBand()
public void setOutOfBand(boolean outOfBand)
outOfBand
- a value indicating whether the reply is out of band - i.e. was specifically requested by the client.public String toString()
EntityBase
Note: Can be used for diagnostics purposes.
toString
in class EntityBase
Copyright © 2013–2023. All rights reserved.