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

Inheritance: ISubscription, IDisposable
Show file Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript

Private Properties

Property Type Description
AddEventCore bool
Invoke Task
PerformWork void
Work Task

Public Methods

Method Description
AddEvent ( string key, Topic topic ) : bool
Dispose ( ) : void
Invoke ( MessageResult result ) : Task
RemoveEvent ( string key ) : void
SetEventTopic ( string key, Topic topic ) : void
SetQueued ( ) : bool
UnsetQueued ( ) : bool
WriteCursor ( TextWriter textWriter ) : void

Protected Methods

Method Description
BeforeInvoke ( object state ) : void
Dispose ( bool disposing ) : void
Subscription ( string identity, IList eventKeys, Func callback, int maxMessages, IPerformanceCounterManager counters, object state ) : System

Private Methods

Method Description
AddEventCore ( string key ) : bool
Invoke ( MessageResult result, object>.Action beforeInvoke, object state ) : Task
PerformWork ( IList items, int &totalCount, object &state ) : void
Work ( ) : Task

Method Details

AddEvent() public method

public AddEvent ( string key, Topic topic ) : bool
key string
topic Topic
return bool

BeforeInvoke() protected method

protected BeforeInvoke ( object state ) : void
state object
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Invoke() public method

public Invoke ( MessageResult result ) : Task
result MessageResult
return Task

RemoveEvent() public method

public RemoveEvent ( string key ) : void
key string
return void

SetEventTopic() public method

public SetEventTopic ( string key, Topic topic ) : void
key string
topic Topic
return void

SetQueued() public method

public SetQueued ( ) : bool
return bool

Subscription() protected method

protected Subscription ( string identity, IList eventKeys, Func callback, int maxMessages, IPerformanceCounterManager counters, object state ) : System
identity string
eventKeys IList
callback Func
maxMessages int
counters IPerformanceCounterManager
state object
return System

UnsetQueued() public method

public UnsetQueued ( ) : bool
return bool

WriteCursor() public abstract method

public abstract WriteCursor ( TextWriter textWriter ) : void
textWriter System.IO.TextWriter
return void