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

Datei anzeigen Open project: SignalR/SignalR 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, TraceSource trace, IPerformanceCounterManager performanceCounters, ScaleoutConfiguration 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, TraceSource trace, IPerformanceCounterManager performanceCounters, ScaleoutConfiguration configuration ) : System
send Func
receive Action
streamCount int
trace System.Diagnostics.TraceSource
performanceCounters IPerformanceCounterManager
configuration ScaleoutConfiguration
return System

Send() public method

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