C# Class CodeSharp.EventSourcing.DefaultAsyncEventSubscriberEndpoint

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

Public Methods

Method 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

Method Description
DispatchEventToHandlers ( object evnt ) : void
ReceiveMessage ( ) : void

Method Details

DefaultAsyncEventSubscriberEndpoint() public method

public DefaultAsyncEventSubscriberEndpoint ( ) : System
return System

DefaultAsyncEventSubscriberEndpoint() public method

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

Initialize() public method

public Initialize ( string address, bool clearSubscriptions ) : void
address string
clearSubscriptions bool
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void