Table of Contents

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_name string

name of the queue

type QueueLimitType

type of the limit

action QueueLimitAction

action of the limit

old_count int

old count

new_count int

new (current) count

Properties

Action

Whether queue limit was reached or retreated

public QueueLimitAction Action { get; }

Property Value

QueueLimitAction

NewCount

Current queue size

public int NewCount { get; }

Property Value

int

OldCount

Previous queue size

public int OldCount { get; }

Property Value

int

QueueName

Queue name

public string QueueName { get; }

Property Value

string

Type

Type of queue limit reached or retreated

public QueueLimitType Type { get; }

Property Value

QueueLimitType