C# Class CodeSharp.EventSourcing.DefaultAsyncEventSubscriberEndpoint

默认的事件订阅者端点实现类
Inheritance: IAsyncEventSubscriberEndpoint
Afficher le fichier Open project: tangxuehua/eventsourcing

Méthodes publiques

Méthode Description
DefaultAsyncEventSubscriberEndpoint ( ) : System
DefaultAsyncEventSubscriberEndpoint ( IAsyncEventHandlerProvider asyncEventHandlerProvider, ISubscriptionStore subscriptionStore, IMessageTransport messageTransport, IMessageSerializer messageSerializer, ILoggerFactory loggerFactory ) : System
Initialize ( string address, bool clearSubscriptions ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Méthode Description
DispatchEventToHandlers ( object evnt ) : void
ReceiveMessage ( ) : void

Method Details

DefaultAsyncEventSubscriberEndpoint() public méthode

public DefaultAsyncEventSubscriberEndpoint ( ) : System
Résultat System

DefaultAsyncEventSubscriberEndpoint() public méthode

public DefaultAsyncEventSubscriberEndpoint ( IAsyncEventHandlerProvider asyncEventHandlerProvider, ISubscriptionStore subscriptionStore, IMessageTransport messageTransport, IMessageSerializer messageSerializer, ILoggerFactory loggerFactory ) : System
asyncEventHandlerProvider IAsyncEventHandlerProvider
subscriptionStore ISubscriptionStore
messageTransport IMessageTransport
messageSerializer IMessageSerializer
loggerFactory ILoggerFactory
Résultat System

Initialize() public méthode

public Initialize ( string address, bool clearSubscriptions ) : void
address string
clearSubscriptions bool
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void