C# 클래스 Burrow.Internal.DurableConnection

상속: IDurableConnection
파일 보기 프로젝트 열기: vanthoainguyen/Burrow.NET 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_retryPolicy IRetryPolicy
_unsubscribeEvents System.Action
_watcher IRabbitWatcher

공개 메소드들

메소드 설명
Connect ( ) : void

Try to connect to rabbitmq server, retry if it cann't connect to the broker.

CreateChannel ( ) : IModel

Create a RabbitMQ channel

Dispose ( ) : void
DurableConnection ( IRetryPolicy retryPolicy, IRabbitWatcher watcher, ConnectionFactory connectionFactory ) : System

Initialize a DurableConnection object

보호된 메소드들

메소드 설명
FireConnectedEvent ( ) : void

This should be called whenever a physical connection to rabbitMQ which has the same endpoint/virtual host is made

FireDisconnectedEvent ( ) : void
SharedConnectionShutdown ( object sender, RabbitMQ.Client.ShutdownEventArgs reason ) : void

비공개 메소드들

메소드 설명
DurableConnection ( IRetryPolicy retryPolicy, IRabbitWatcher watcher ) : System
HandleConnectionException ( Exception ex ) : void

메소드 상세

Connect() 공개 메소드

Try to connect to rabbitmq server, retry if it cann't connect to the broker.
public Connect ( ) : void
리턴 void

CreateChannel() 공개 메소드

Create a RabbitMQ channel
public CreateChannel ( ) : IModel
리턴 IModel

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

DurableConnection() 공개 메소드

Initialize a DurableConnection object
public DurableConnection ( IRetryPolicy retryPolicy, IRabbitWatcher watcher, ConnectionFactory connectionFactory ) : System
retryPolicy IRetryPolicy
watcher IRabbitWatcher
connectionFactory RabbitMQ.Client.ConnectionFactory
리턴 System

FireConnectedEvent() 보호된 메소드

This should be called whenever a physical connection to rabbitMQ which has the same endpoint/virtual host is made
protected FireConnectedEvent ( ) : void
리턴 void

FireDisconnectedEvent() 보호된 메소드

protected FireDisconnectedEvent ( ) : void
리턴 void

SharedConnectionShutdown() 보호된 메소드

protected SharedConnectionShutdown ( object sender, RabbitMQ.Client.ShutdownEventArgs reason ) : void
sender object
reason RabbitMQ.Client.ShutdownEventArgs
리턴 void

프로퍼티 상세

_retryPolicy 보호되어 있는 프로퍼티

protected IRetryPolicy _retryPolicy
리턴 IRetryPolicy

_unsubscribeEvents 보호되어 있는 프로퍼티

protected Action,System _unsubscribeEvents
리턴 System.Action

_watcher 보호되어 있는 프로퍼티

protected IRabbitWatcher _watcher
리턴 IRabbitWatcher