Class FeedMessage
- Namespace
- Sportradar.OddsFeed.SDK.Messages.Feed
- Assembly
- Sportradar.OddsFeed.SDK.dll
Represents a base class for messages received from the feed
public abstract class FeedMessage
- Inheritance
-
FeedMessage
- Derived
- Inherited Members
Properties
EventId
When overridden in derived class it gets the event identifier.
public abstract string EventId { get; }
Property Value
- string
The event identifier
EventUrn
When overridden in derived class, it gets a Urn specifying the id of the associated sport event
public Urn EventUrn { get; set; }
Property Value
- Urn
The event urn
GeneratedAt
Gets the timestamp of when the message was generated
public abstract long GeneratedAt { get; }
Property Value
- long
The timestamp of the message
IsEventRelated
When overridden in derived class, it gets a value indicating whether the current FeedMessage instance is related to sport event
public abstract bool IsEventRelated { get; }
Property Value
IsStateful
When override in derived class, it gets a value indicating whether current message is state-ful
public abstract bool IsStateful { get; }
Property Value
Name
When overridden in derived class, gets the name of the current message
public abstract string Name { get; }
Property Value
ProducerId
When overridden in derived class, it gets a value indicating the producer associated with current FeedMessage
public abstract int ProducerId { get; }
Property Value
ReceivedAt
Gets the timestamp of when the message was received (picked up) by the sdk
public abstract long ReceivedAt { get; set; }
Property Value
- long
The timestamp of the message
RequestId
Gets a value specified when making a request which generated this message, or null reference if this messages is not resulted with the request
public abstract long? RequestId { get; }
Property Value
- long?
RequestIdUsage
When overridden in derived class, it gets a value specifying the usage requirements of the RequestId property
public abstract PropertyUsage RequestIdUsage { get; }
Property Value
SentAt
Gets the timestamp of when the message was sent
public abstract long SentAt { get; set; }
Property Value
- long
The timestamp of the message
SportId
Gets or sets a Urn representing the id of the sport associated with the current FeedMessage instance
public Urn SportId { get; set; }
Property Value
Methods
ToString()
Returns a string that represents this instance.
public override string ToString()