C# Class Microsoft.AspNet.SignalR.SqlServer.SqlMessageBus

Uses SQL Server tables to scale-out SignalR applications in web farms.
Inheritance: Microsoft.AspNet.SignalR.Messaging.ScaleoutMessageBus
Show file Open project: SignalR/SignalR Class Usage Examples

Public Methods

Method Description
SqlMessageBus ( IDependencyResolver resolver, SqlScaleoutConfiguration configuration ) : System

Creates a new instance of the SqlMessageBus class.

Protected Methods

Method Description
Dispose ( bool disposing ) : void
Send ( int streamIndex, IList messages ) : Task

Private Methods

Method Description
Initialize ( object state ) : void
SqlMessageBus ( IDependencyResolver resolver, SqlScaleoutConfiguration configuration, IDbProviderFactory dbProviderFactory ) : System
StartReceiving ( int streamIndex ) : void

Method Details

Dispose() protected method

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

Send() protected method

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

SqlMessageBus() public method

Creates a new instance of the SqlMessageBus class.
public SqlMessageBus ( IDependencyResolver resolver, SqlScaleoutConfiguration configuration ) : System
resolver IDependencyResolver The resolver to use.
configuration SqlScaleoutConfiguration The SQL scale-out configuration options.
return System