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

显示文件 Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript Class Usage Examples

Public Methods

Method Description
Close ( int streamIndex ) : void
OnError ( int streamIndex, Exception exception ) : void
OnReceived ( int streamIndex, ulong id, ScaleoutMessage message ) : void
Open ( int streamIndex ) : void
ScaleoutStreamManager ( Func send, Action receive, int streamCount, ILogger logger, IPerformanceCounterManager performanceCounters, ScaleoutOptions configuration ) : System
Send ( int streamIndex, IList messages ) : Task

Private Methods

Method Description
Send ( object state ) : Task

Method Details

Close() public method

public Close ( int streamIndex ) : void
streamIndex int
return void

OnError() public method

public OnError ( int streamIndex, Exception exception ) : void
streamIndex int
exception System.Exception
return void

OnReceived() public method

public OnReceived ( int streamIndex, ulong id, ScaleoutMessage message ) : void
streamIndex int
id ulong
message ScaleoutMessage
return void

Open() public method

public Open ( int streamIndex ) : void
streamIndex int
return void

ScaleoutStreamManager() public method

public ScaleoutStreamManager ( Func send, Action receive, int streamCount, ILogger logger, IPerformanceCounterManager performanceCounters, ScaleoutOptions configuration ) : System
send Func
receive Action
streamCount int
logger ILogger
performanceCounters IPerformanceCounterManager
configuration ScaleoutOptions
return System

Send() public method

public Send ( int streamIndex, IList messages ) : Task
streamIndex int
messages IList
return Task