C# Class Microsoft.AspNet.SignalR.Infrastructure.AckSubscriber

A singleton that subscribes to all ACKs sent over the Microsoft.AspNet.SignalR.Messaging.IMessageBus and triggers any corresponding ACKs on the IAckHandler.
Inheritance: ISubscriber, IDisposable
Exibir arquivo Open project: SignalR/SignalR

Public Methods

Method Description
AckSubscriber ( IDependencyResolver resolver ) : System
AckSubscriber ( IMessageBus messageBus, IAckHandler ackHandler ) : System
Dispose ( ) : void

Private Methods

Method Description
ProcessMessages ( ) : void
TriggerAcks ( MessageResult result, object state ) : Task

Method Details

AckSubscriber() public method

public AckSubscriber ( IDependencyResolver resolver ) : System
resolver IDependencyResolver
return System

AckSubscriber() public method

public AckSubscriber ( IMessageBus messageBus, IAckHandler ackHandler ) : System
messageBus IMessageBus
ackHandler IAckHandler
return System

Dispose() public method

public Dispose ( ) : void
return void