C# Class Microsoft.AspNet.SignalR.Redis.RedisMessageBus

Inheritance: Microsoft.AspNet.SignalR.Messaging.ScaleoutMessageBus
Show file Open project: SignalR/SignalR

Private Properties

Property Type Description
ConnectToRedisAsync Task
ConnectWithRetry Task
FormatBytes string
OnConnectionError void
OnConnectionFailed void
OnConnectionRestored void
OnMessage void
RedisMessageBus System
Shutdown void
TraceRedisScriptResult void

Public Methods

Method Description
OpenStream ( int streamIndex ) : void
RedisMessageBus ( IDependencyResolver resolver, RedisScaleoutConfiguration configuration, IRedisConnection connection ) : System

Protected Methods

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

Private Methods

Method Description
ConnectToRedisAsync ( ) : Task
ConnectWithRetry ( ) : Task
FormatBytes ( object payload ) : string
OnConnectionError ( Exception ex ) : void
OnConnectionFailed ( Exception ex ) : void
OnConnectionRestored ( Exception ex ) : void
OnMessage ( int streamIndex, RedisMessage message ) : void
RedisMessageBus ( IDependencyResolver resolver, RedisScaleoutConfiguration configuration, IRedisConnection connection, bool connectAutomatically ) : System
Shutdown ( ) : void
TraceRedisScriptResult ( Task redisTask ) : void

Method Details

Dispose() protected method

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

OpenStream() public method

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

RedisMessageBus() public method

public RedisMessageBus ( IDependencyResolver resolver, RedisScaleoutConfiguration configuration, IRedisConnection connection ) : System
resolver IDependencyResolver
configuration RedisScaleoutConfiguration
connection IRedisConnection
return System

Send() protected method

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