Class QueueLimitEventArgs
- Namespace
- Sportradar.LiveData.Sdk.Common.Interfaces
- Assembly
- Sportradar.LiveData.Sdk.dll
Event arguments passed with the QueueLimitType
public class QueueLimitEventArgs : EventArgs
- Inheritance
-
QueueLimitEventArgs
- Inherited Members
Constructors
QueueLimitEventArgs(string, QueueLimitType, QueueLimitAction, int, int)
QueueLimitEventArgs constructor.
public QueueLimitEventArgs(string queue_name, QueueLimitType type, QueueLimitAction action, int old_count, int new_count)
Parameters
queue_namestringname of the queue
typeQueueLimitTypetype of the limit
actionQueueLimitActionaction of the limit
old_countintold count
new_countintnew (current) count
Properties
Action
Whether queue limit was reached or retreated
public QueueLimitAction Action { get; }
Property Value
NewCount
Current queue size
public int NewCount { get; }
Property Value
OldCount
Previous queue size
public int OldCount { get; }
Property Value
QueueName
Queue name
public string QueueName { get; }
Property Value
Type
Type of queue limit reached or retreated
public QueueLimitType Type { get; }