C# Class Burrow.Internal.HaConnection

This implementation will provide the ability to fail over to different node if it cannot connect to a node in the cluster
Inheritance: DurableConnection
显示文件 Open project: vanthoainguyen/Burrow.NET Class Usage Examples

Private Properties

Property Type Description
HandleConnectionException void

Public Methods

Method Description
Connect ( ) : void
HaConnection ( IRetryPolicy retryPolicy, IRabbitWatcher watcher, IList connectionFactories ) : System

Initialize a HaConnection with a list of ManagedConnectionFactory These connection factories are responsibile for creating IConnection to nodes in the clusters

Private Methods

Method Description
HandleConnectionException ( Exception ex ) : void

Method Details

Connect() public method

public Connect ( ) : void
return void

HaConnection() public method

Initialize a HaConnection with a list of ManagedConnectionFactory These connection factories are responsibile for creating IConnection to nodes in the clusters
public HaConnection ( IRetryPolicy retryPolicy, IRabbitWatcher watcher, IList connectionFactories ) : System
retryPolicy IRetryPolicy
watcher IRabbitWatcher
connectionFactories IList
return System