C# Класс paramore.brighter.serviceactivator.controlbus.ControlBusReceiverBuilder

Class ControlBusBuilder.
Наследование: INeedADispatcher, INeedAChannelFactory, IAmADispatchBuilder
Показать файл Открыть проект

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

Метод Описание
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.

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

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

Builds this instance.
public Build ( string hostName ) : Dispatcher
hostName string Name of the host.
Результат Dispatcher

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

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.
Результат IAmADispatchBuilder

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

public Dispatcher ( IDispatcher dispatcher ) : INeedAChannelFactory
dispatcher IDispatcher
Результат INeedAChannelFactory

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

The logger to use to report from the Dispatcher.
public Logger ( ILog logger ) : INeedADispatcher
logger ILog The logger.
Результат INeedADispatcher

With() публичный статический Метод

Withes this instance.
public static With ( ) : INeedALogger
Результат INeedALogger