C# Class paramore.brighter.serviceactivator.controlbus.ControlBusReceiverBuilder

Class ControlBusBuilder.
Inheritance: INeedADispatcher, INeedAChannelFactory, IAmADispatchBuilder
Mostrar archivo Open project: JustGiving/Paramore

Public Methods

Method Description
Build ( string hostName ) : Dispatcher

Builds this instance.

ChannelFactory ( IAmAChannelFactory channelFactory ) : IAmADispatchBuilder

The channel factory - used to create channels. Generally an implementation of a specific Application Layer i.e.RabbitMQ for AMQP needs to provide an implementation of this factory to provide input and output channels that support sending messages over that layer. We provide an implementation for RabbitMQ for example.

Dispatcher ( IDispatcher dispatcher ) : INeedAChannelFactory
Logger ( ILog logger ) : INeedADispatcher

The logger to use to report from the Dispatcher.

With ( ) : INeedALogger

Withes this instance.

Method Details

Build() public method

Builds this instance.
public Build ( string hostName ) : Dispatcher
hostName string Name of the host.
return Dispatcher

ChannelFactory() public method

The channel factory - used to create channels. Generally an implementation of a specific Application Layer i.e.RabbitMQ for AMQP needs to provide an implementation of this factory to provide input and output channels that support sending messages over that layer. We provide an implementation for RabbitMQ for example.
public ChannelFactory ( IAmAChannelFactory channelFactory ) : IAmADispatchBuilder
channelFactory IAmAChannelFactory The channel factory.
return IAmADispatchBuilder

Dispatcher() public method

public Dispatcher ( IDispatcher dispatcher ) : INeedAChannelFactory
dispatcher IDispatcher
return INeedAChannelFactory

Logger() public method

The logger to use to report from the Dispatcher.
public Logger ( ILog logger ) : INeedADispatcher
logger ILog The logger.
return INeedADispatcher

With() public static method

Withes this instance.
public static With ( ) : INeedALogger
return INeedALogger