Click or drag to resize

IProducerManager Interface

Defines a contract implemented by classes used to manage feed producers

Namespace:  Sportradar.OddsFeed.SDK.Messages
Assembly:  Sportradar.OddsFeed.SDK.Messages (in Sportradar.OddsFeed.SDK.Messages.dll) Version: 1.42.0.0 (1.42.0.0)
Syntax
C#
public interface IProducerManager

The IProducerManager type exposes the following members.

Properties
  NameDescription
Public propertyProducers
Gets the available producers
Top
Methods
  NameDescription
Public methodAddTimestampBeforeDisconnect
Sets the timestamp of the last processed message for a specific producer
Public methodDisableProducer
Disables the producer (no recovery will be made and not message will be received)
Public methodExists(Int32)
Check if the IProducer exists in manager
Public methodExists(String)
Check if the IProducer exists in manager
Public methodGet(Int32)
Gets the producer if exists, otherwise 'unknown' producer is returned
Public methodGet(String)
Gets the producer by name if exists, otherwise 'unknown' producer is returned
Public methodRemoveTimestampBeforeDisconnect
Removes the timestamp of the last message processed for a specific producer
Top
See Also