C# Class amp.rabbit.RabbitListener

ファイルを表示 Open project: Berico-Technologies/AMP

Protected Properties

Property Type Description
_connection IConnection
_exchange Exchange
_log ILog
_registration IRegistration
_shouldContinue bool

Public Methods

Method Description
RabbitListener ( IRegistration registration, Exchange exchange, IConnection connection ) : System
Start ( object manualResetEvent ) : void
Stop ( ) : void

Protected Methods

Method Description
LogMessage ( RabbitMQ.Client.Events.BasicDeliverEventArgs eventArgs ) : void
Raise_OnCloseEvent ( IRegistration registration ) : void
Raise_OnEnvelopeReceivedEvent ( RabbitEnvelopeDispatcher dispatcher ) : void
ShouldRaiseEvent ( Predicate filter, Envelope env ) : bool

Method Details

LogMessage() protected method

protected LogMessage ( RabbitMQ.Client.Events.BasicDeliverEventArgs eventArgs ) : void
eventArgs RabbitMQ.Client.Events.BasicDeliverEventArgs
return void

RabbitListener() public method

public RabbitListener ( IRegistration registration, Exchange exchange, IConnection connection ) : System
registration IRegistration
exchange Exchange
connection IConnection
return System

Raise_OnCloseEvent() protected method

protected Raise_OnCloseEvent ( IRegistration registration ) : void
registration IRegistration
return void

Raise_OnEnvelopeReceivedEvent() protected method

protected Raise_OnEnvelopeReceivedEvent ( RabbitEnvelopeDispatcher dispatcher ) : void
dispatcher RabbitEnvelopeDispatcher
return void

ShouldRaiseEvent() protected method

protected ShouldRaiseEvent ( Predicate filter, Envelope env ) : bool
filter Predicate
env Envelope
return bool

Start() public method

public Start ( object manualResetEvent ) : void
manualResetEvent object
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

_connection protected_oe property

protected IConnection _connection
return IConnection

_exchange protected_oe property

protected Exchange _exchange
return Exchange

_log protected_oe property

protected ILog _log
return ILog

_registration protected_oe property

protected IRegistration _registration
return IRegistration

_shouldContinue protected_oe property

protected bool _shouldContinue
return bool