C# 클래스 Microsoft.AspNetCore.SignalR.Messaging.DefaultSubscription

상속: Subscription
파일 보기 프로젝트 열기: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
BeforeInvoke ( object state ) : void

비공개 메소드들

메소드 설명
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

메소드 상세

AddEvent() 공개 메소드

public AddEvent ( string eventKey, Topic topic ) : bool
eventKey string
topic Topic
리턴 bool

BeforeInvoke() 보호된 메소드

protected BeforeInvoke ( object state ) : void
state object
리턴 void

DefaultSubscription() 공개 메소드

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
리턴 System

RemoveEvent() 공개 메소드

public RemoveEvent ( string eventKey ) : void
eventKey string
리턴 void

SetEventTopic() 공개 메소드

public SetEventTopic ( string eventKey, Topic topic ) : void
eventKey string
topic Topic
리턴 void

WriteCursor() 공개 메소드

public WriteCursor ( TextWriter textWriter ) : void
textWriter System.IO.TextWriter
리턴 void