C# Класс amp.rabbit.RabbitListener

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_connection IConnection
_exchange Exchange
_log ILog
_registration IRegistration
_shouldContinue bool

Открытые методы

Метод Описание
RabbitListener ( IRegistration registration, Exchange exchange, IConnection connection ) : System
Start ( object manualResetEvent ) : void
Stop ( ) : void

Защищенные методы

Метод Описание
LogMessage ( RabbitMQ.Client.Events.BasicDeliverEventArgs eventArgs ) : void
Raise_OnCloseEvent ( IRegistration registration ) : void
Raise_OnEnvelopeReceivedEvent ( RabbitEnvelopeDispatcher dispatcher ) : void
ShouldRaiseEvent ( Predicate filter, Envelope env ) : bool

Описание методов

LogMessage() защищенный Метод

protected LogMessage ( RabbitMQ.Client.Events.BasicDeliverEventArgs eventArgs ) : void
eventArgs RabbitMQ.Client.Events.BasicDeliverEventArgs
Результат void

RabbitListener() публичный Метод

public RabbitListener ( IRegistration registration, Exchange exchange, IConnection connection ) : System
registration IRegistration
exchange Exchange
connection IConnection
Результат System

Raise_OnCloseEvent() защищенный Метод

protected Raise_OnCloseEvent ( IRegistration registration ) : void
registration IRegistration
Результат void

Raise_OnEnvelopeReceivedEvent() защищенный Метод

protected Raise_OnEnvelopeReceivedEvent ( RabbitEnvelopeDispatcher dispatcher ) : void
dispatcher RabbitEnvelopeDispatcher
Результат void

ShouldRaiseEvent() защищенный Метод

protected ShouldRaiseEvent ( Predicate filter, Envelope env ) : bool
filter Predicate
env Envelope
Результат bool

Start() публичный Метод

public Start ( object manualResetEvent ) : void
manualResetEvent object
Результат void

Stop() публичный Метод

public Stop ( ) : void
Результат void

Описание свойств

_connection защищенное свойство

protected IConnection _connection
Результат IConnection

_exchange защищенное свойство

protected Exchange _exchange
Результат Exchange

_log защищенное свойство

protected ILog _log
Результат ILog

_registration защищенное свойство

protected IRegistration _registration
Результат IRegistration

_shouldContinue защищенное свойство

protected bool _shouldContinue
Результат bool