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

Class ControlBusBuilder.
Inheritance: INeedADispatcher, INeedAChannelFactory, IAmADispatchBuilder
Afficher le fichier Open project: JustGiving/Paramore

Méthodes publiques

Méthode 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 méthode

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

ChannelFactory() public méthode

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.
Résultat IAmADispatchBuilder

Dispatcher() public méthode

public Dispatcher ( IDispatcher dispatcher ) : INeedAChannelFactory
dispatcher IDispatcher
Résultat INeedAChannelFactory

Logger() public méthode

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

With() public static méthode

Withes this instance.
public static With ( ) : INeedALogger
Résultat INeedALogger