C# Class Redis.WebJobs.Extensions.Listeners.RedisChannelListener

Inheritance: Redis.WebJobs.Extensions.Framework.ListenerBase
Afficher le fichier Open project: JasonHaley/Redis.WebJobs.Extensions Class Usage Examples

Méthodes publiques

Méthode Description
RedisChannelListener ( string channelOrKey, ITriggeredFunctionExecutor triggerExecutor, RedisConfiguration config, Microsoft.Azure.WebJobs.Host.TraceWriter trace ) : System

Méthodes protégées

Méthode Description
OnDisposing ( ) : void
OnStarting ( ) : void
OnStopping ( ) : void
StartAsyncCore ( CancellationToken cancellationToken ) : Task
StopAsyncCore ( CancellationToken cancellationToken ) : Task

Private Methods

Méthode Description
CreateProcessor ( string channelName ) : RedisProcessor
CreateReceiver ( RedisConfiguration config, string channelOrKey ) : PubSubReceiver
ProcessMessageAsync ( string message ) : Task
ProcessMessageAsync ( string message, CancellationToken cancellationToken ) : Task

Method Details

OnDisposing() protected méthode

protected OnDisposing ( ) : void
Résultat void

OnStarting() protected méthode

protected OnStarting ( ) : void
Résultat void

OnStopping() protected méthode

protected OnStopping ( ) : void
Résultat void

RedisChannelListener() public méthode

public RedisChannelListener ( string channelOrKey, ITriggeredFunctionExecutor triggerExecutor, RedisConfiguration config, Microsoft.Azure.WebJobs.Host.TraceWriter trace ) : System
channelOrKey string
triggerExecutor ITriggeredFunctionExecutor
config Redis.WebJobs.Extensions.Config.RedisConfiguration
trace Microsoft.Azure.WebJobs.Host.TraceWriter
Résultat System

StartAsyncCore() protected méthode

protected StartAsyncCore ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
Résultat Task

StopAsyncCore() protected méthode

protected StopAsyncCore ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
Résultat Task