C# Class Microsoft.AspNetCore.SignalR.Messaging.DefaultSubscription

Inheritance: Subscription
Afficher le fichier Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

Méthodes publiques

Méthode Description
AddEvent ( string eventKey, Topic topic ) : bool
DefaultSubscription ( string identity, IList eventKeys, TopicLookup topics, string cursor, Func callback, int maxMessages, IStringMinifier stringMinifier, IPerformanceCounterManager counters, object state ) : System
RemoveEvent ( string eventKey ) : void
SetEventTopic ( string eventKey, Topic topic ) : void
WriteCursor ( TextWriter textWriter ) : void

Méthodes protégées

Méthode Description
BeforeInvoke ( object state ) : void

Private Methods

Méthode Description
FindCursorIndex ( string eventKey ) : int
GetCursorPrefix ( ) : string
GetCursorsFromEventKeys ( IList eventKeys, TopicLookup topics ) : List
GetMessageId ( Topic topic ) : ulong
GetMessageId ( TopicLookup topics, string key ) : ulong
PerformWork ( IList items, int &totalCount, object &state ) : void
UnminifyCursor ( string key, object state ) : string
UpdateCursor ( string key, ulong id ) : bool

Method Details

AddEvent() public méthode

public AddEvent ( string eventKey, Topic topic ) : bool
eventKey string
topic Topic
Résultat bool

BeforeInvoke() protected méthode

protected BeforeInvoke ( object state ) : void
state object
Résultat void

DefaultSubscription() public méthode

public DefaultSubscription ( string identity, IList eventKeys, TopicLookup topics, string cursor, Func callback, int maxMessages, IStringMinifier stringMinifier, IPerformanceCounterManager counters, object state ) : System
identity string
eventKeys IList
topics TopicLookup
cursor string
callback Func
maxMessages int
stringMinifier IStringMinifier
counters IPerformanceCounterManager
state object
Résultat System

RemoveEvent() public méthode

public RemoveEvent ( string eventKey ) : void
eventKey string
Résultat void

SetEventTopic() public méthode

public SetEventTopic ( string eventKey, Topic topic ) : void
eventKey string
topic Topic
Résultat void

WriteCursor() public méthode

public WriteCursor ( TextWriter textWriter ) : void
textWriter System.IO.TextWriter
Résultat void