C# Class Microsoft.AspNet.SignalR.Messaging.ScaleoutSubscription

Inheritance: Subscription
显示文件 Open project: SignalR/SignalR

Public Methods

Method Description
ScaleoutSubscription ( string identity, IList eventKeys, string cursor, IList streams, Func callback, int maxMessages, IPerformanceCounterManager counters, object state ) : System
WriteCursor ( TextWriter textWriter ) : void

Protected Methods

Method Description
BeforeInvoke ( object state ) : void

Private Methods

Method Description
AddCursorForStream ( int streamIndex, List cursors ) : void
ExtractMessages ( int streamIndex, ScaleoutMapping mapping, IList items, int &totalCount ) : ulong
GetMappings ( ) : int>>.IEnumerable
PerformWork ( IList items, int &totalCount, object &state ) : void

Method Details

BeforeInvoke() protected method

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

ScaleoutSubscription() public method

public ScaleoutSubscription ( string identity, IList eventKeys, string cursor, IList streams, Func callback, int maxMessages, IPerformanceCounterManager counters, object state ) : System
identity string
eventKeys IList
cursor string
streams IList
callback Func
maxMessages int
counters IPerformanceCounterManager
state object
return System

WriteCursor() public method

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