C# Class Contour.Transport.RabbitMQ.Internal.RabbitBus

The rabbit bus.
Inheritance: AbstractBus, IBusAdvanced, IChannelProvider
显示文件 Open project: SDVentures/Contour Class Usage Examples

Public Methods

Method Description
OpenChannel ( ) : RabbitChannel

The open channel.

RabbitBus ( BusConfiguration configuration ) : System

Инициализирует новый экземпляр класса RabbitBus.

Shutdown ( ) : void

The shutdown.

Start ( bool waitForReadiness = true ) : void

The start.

Stop ( ) : void

Protected Methods

Method Description
Restart ( bool waitForReadiness = true ) : void

Private Methods

Method Description
BuildReceivers ( ) : void
BuildSenders ( ) : void
Configure ( ) : void
Connect ( CancellationToken token ) : void
DisconnectEventHandler ( IConnection connection, RabbitMQ.Client.ShutdownEventArgs eventArgs ) : void
DropConnection ( ) : void
HandleBusFailure ( Exception exception ) : void
IBusAdvanced ( ) : IChannel

The open channel.

IBusAdvanced ( ) : void

The panic.

IChannelProvider ( ) : IChannel

The open channel.

ResetRestartTask ( ) : void
StartTask ( CancellationToken cancellationToken ) : void
StopTask ( CancellationToken cancellationToken ) : void

Method Details

OpenChannel() public method

The open channel.
public OpenChannel ( ) : RabbitChannel
return RabbitChannel

RabbitBus() public method

Инициализирует новый экземпляр класса RabbitBus.
public RabbitBus ( BusConfiguration configuration ) : System
configuration BusConfiguration The configuration.
return System

Restart() protected method

protected Restart ( bool waitForReadiness = true ) : void
waitForReadiness bool
return void

Shutdown() public method

The shutdown.
public Shutdown ( ) : void
return void

Start() public method

The start.
public Start ( bool waitForReadiness = true ) : void
waitForReadiness bool The wait for readiness.
return void

Stop() public method

public Stop ( ) : void
return void