Class OutboxSenderManager
Inheritance
object
OutboxSenderManager
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.EventBus.Distributed
Assembly: Volo.Abp.EventBus.dll
Syntax
public class OutboxSenderManager : IBackgroundWorker, IRunnable, ISingletonDependency
Constructors
OutboxSenderManager(IOptions<AbpDistributedEventBusOptions>, IServiceProvider)
Declaration
public OutboxSenderManager(IOptions<AbpDistributedEventBusOptions> options, IServiceProvider serviceProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| Microsoft.Extensions.Options.IOptions<TOptions><AbpDistributedEventBusOptions> | options | |
| System.IServiceProvider | serviceProvider |
Properties
Options
Declaration
protected AbpDistributedEventBusOptions Options { get; }
Property Value
| Type | Description |
|---|---|
| AbpDistributedEventBusOptions |
Senders
Declaration
protected List<IOutboxSender> Senders { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><IOutboxSender> |
ServiceProvider
Declaration
protected IServiceProvider ServiceProvider { get; }
Property Value
| Type | Description |
|---|---|
| System.IServiceProvider |
Methods
StartAsync(CancellationToken)
Declaration
public Task StartAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
StopAsync(CancellationToken)
Declaration
public Task StopAsync(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |