C# Класс SignalR.DefaultSubscription

Наследование: SignalR.Subscription
Показать файл Открыть проект

Открытые методы

Метод Описание
AddEvent ( string eventKey, SignalR.Topic topic ) : bool
DefaultSubscription ( string identity, IEnumerable eventKeys, Topic>.IDictionary topics, string cursor, Func callback, int maxMessages, IPerformanceCounterWriter counters ) : System
GetCursor ( ) : string
RemoveEvent ( string eventKey ) : void
SetEventTopic ( string eventKey, SignalR.Topic topic ) : void

Защищенные методы

Метод Описание
BeforeInvoke ( object state ) : void
PerformWork ( List &items, string &nextCursor, int &totalCount, object &state ) : void

Приватные методы

Метод Описание
GetMessageId ( Topic>.IDictionary topics, string key ) : ulong
GetMessageId ( SignalR.Topic topic ) : ulong
UpdateCursor ( string key, ulong id ) : bool

Описание методов

AddEvent() публичный Метод

public AddEvent ( string eventKey, SignalR.Topic topic ) : bool
eventKey string
topic SignalR.Topic
Результат bool

BeforeInvoke() защищенный Метод

protected BeforeInvoke ( object state ) : void
state object
Результат void

DefaultSubscription() публичный Метод

public DefaultSubscription ( string identity, IEnumerable eventKeys, Topic>.IDictionary topics, string cursor, Func callback, int maxMessages, IPerformanceCounterWriter counters ) : System
identity string
eventKeys IEnumerable
topics Topic>.IDictionary
cursor string
callback Func
maxMessages int
counters IPerformanceCounterWriter
Результат System

GetCursor() публичный Метод

public GetCursor ( ) : string
Результат string

PerformWork() защищенный Метод

protected PerformWork ( List &items, string &nextCursor, int &totalCount, object &state ) : void
items List
nextCursor string
totalCount int
state object
Результат void

RemoveEvent() публичный Метод

public RemoveEvent ( string eventKey ) : void
eventKey string
Результат void

SetEventTopic() публичный Метод

public SetEventTopic ( string eventKey, SignalR.Topic topic ) : void
eventKey string
topic SignalR.Topic
Результат void