C# Класс paramore.brighter.serviceactivator.DispatchBuilder

Class DispatchBuilder. A fluent builder used to simplify construction of instances of the Dispatcher. Begin by calling With() and the syntax will then provide you with progressive interfaces to manage the requirements for a complete Dispatcher via Intellisense in the IDE. The intent is to make it easier to recognize those dependencies that you need to configure
Наследование: INeedALogger, INeedACommandProcessor, INeedAChannelFactory, INeedAMessageMapper, INeedAListOfConnections, IAmADispatchBuilder
Показать файл Открыть проект

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

Метод Описание
Build ( ) : Dispatcher

Builds this instance.

ChannelFactory ( IAmAChannelFactory channelFactory ) : INeedAListOfConnections

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.

CommandProcessor ( CommandProcessor theCommandProcessor ) : INeedAMessageMapper

The command processor used to send and publish messages to handlers by the service activator.

Connections ( IEnumerable connections ) : IAmADispatchBuilder

A list of connections i.e. mappings of channels to commands or events

MessageMappers ( IAmAMessageMapperRegistry theMessageMapperRegistry ) : INeedAChannelFactory

The message mappers used to map between commands, events, and on-the-wire handlers.

With ( ) : INeedACommandProcessor

Begins the fluent interface

Приватные методы

Метод Описание
DispatchBuilder ( ) : System.Collections.Generic

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

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

Builds this instance.
public Build ( ) : Dispatcher
Результат 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 ) : INeedAListOfConnections
channelFactory IAmAChannelFactory The channel factory.
Результат INeedAListOfConnections

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

The command processor used to send and publish messages to handlers by the service activator.
public CommandProcessor ( CommandProcessor theCommandProcessor ) : INeedAMessageMapper
theCommandProcessor CommandProcessor The command processor.
Результат INeedAMessageMapper

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

A list of connections i.e. mappings of channels to commands or events
public Connections ( IEnumerable connections ) : IAmADispatchBuilder
connections IEnumerable The connections.
Результат IAmADispatchBuilder

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

The message mappers used to map between commands, events, and on-the-wire handlers.
public MessageMappers ( IAmAMessageMapperRegistry theMessageMapperRegistry ) : INeedAChannelFactory
theMessageMapperRegistry IAmAMessageMapperRegistry The message mapper registry.
Результат INeedAChannelFactory

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

Begins the fluent interface
public static With ( ) : INeedACommandProcessor
Результат INeedACommandProcessor