C# 클래스 paramore.brighter.commandprocessor.HandlerConfiguration

Class HandlerConfiguration
파일 보기 프로젝트 열기: iancooper/Paramore 1 사용 예제들

공개 메소드들

메소드 설명
HandlerConfiguration ( )

Initializes a new instance of the HandlerConfiguration class. The default constructor is used when we want to create an empty handler configuration. Normally this is only useful for a ControlBusSender command processor, which posts all of its requests and does not have a local handler. As you cannot se the HandlerFactory and SubscriberRegistry post-creation, don't use this constructor in uses cases where you want anything other than an empty configuration.

HandlerConfiguration ( IAmASubscriberRegistry subscriberRegistry, IAmAHandlerFactory handlerFactory )

Initializes a new instance of the HandlerConfiguration class. We use the IAmASubscriberRegistry instance to look up subscribers for messages when dispatching. Use SubscriberRegistry unless you have some reason to override. We expect a CommandProcessor.Send{T}(T) to have one registered handler We use the

HandlerConfiguration ( IAmASubscriberRegistry subscriberRegistry, IAmAHandlerFactory handlerFactory, IAmAHandlerFactoryAsync asyncHandlerFactory )

Initializes a new instance of the HandlerConfiguration class. We use the IAmASubscriberRegistry instance to look up subscribers for messages when dispatching. Use SubscriberRegistry unless you have some reason to override. We expect a CommandProcessor.Send{T}(T) to have one registered handler We use the

HandlerConfiguration ( IAmASubscriberRegistry subscriberRegistry, IAmAHandlerFactoryAsync asyncHandlerFactory )

Initializes a new instance of the HandlerConfiguration class. We use the IAmASubscriberRegistry instance to look up subscribers for messages when dispatching. Use SubscriberRegistry unless you have some reason to override. We expect a CommandProcessor.Send{T}(T) to have one registered handler We use the

메소드 상세

HandlerConfiguration() 공개 메소드

Initializes a new instance of the HandlerConfiguration class. The default constructor is used when we want to create an empty handler configuration. Normally this is only useful for a ControlBusSender command processor, which posts all of its requests and does not have a local handler. As you cannot se the HandlerFactory and SubscriberRegistry post-creation, don't use this constructor in uses cases where you want anything other than an empty configuration.

HandlerConfiguration() 공개 메소드

Initializes a new instance of the HandlerConfiguration class. We use the IAmASubscriberRegistry instance to look up subscribers for messages when dispatching. Use SubscriberRegistry unless you have some reason to override. We expect a CommandProcessor.Send{T}(T) to have one registered handler We use the
public HandlerConfiguration ( IAmASubscriberRegistry subscriberRegistry, IAmAHandlerFactory handlerFactory )
subscriberRegistry IAmASubscriberRegistry The subscriber registry.
handlerFactory IAmAHandlerFactory The handler factory.

HandlerConfiguration() 공개 메소드

Initializes a new instance of the HandlerConfiguration class. We use the IAmASubscriberRegistry instance to look up subscribers for messages when dispatching. Use SubscriberRegistry unless you have some reason to override. We expect a CommandProcessor.Send{T}(T) to have one registered handler We use the
public HandlerConfiguration ( IAmASubscriberRegistry subscriberRegistry, IAmAHandlerFactory handlerFactory, IAmAHandlerFactoryAsync asyncHandlerFactory )
subscriberRegistry IAmASubscriberRegistry The subscriber registry.
handlerFactory IAmAHandlerFactory The handler factory.
asyncHandlerFactory IAmAHandlerFactoryAsync The async handler factory.

HandlerConfiguration() 공개 메소드

Initializes a new instance of the HandlerConfiguration class. We use the IAmASubscriberRegistry instance to look up subscribers for messages when dispatching. Use SubscriberRegistry unless you have some reason to override. We expect a CommandProcessor.Send{T}(T) to have one registered handler We use the
public HandlerConfiguration ( IAmASubscriberRegistry subscriberRegistry, IAmAHandlerFactoryAsync asyncHandlerFactory )
subscriberRegistry IAmASubscriberRegistry The subscriber registry.
asyncHandlerFactory IAmAHandlerFactoryAsync The async handler factory.