C# Class CodeSharp.EventSourcing.InMemorySubscriptionStore

In memory implementation of the subscription store.
Inheritance: ISubscriptionStore
Show file Open project: tangxuehua/eventsourcing Class Usage Examples

Public Methods

Method Description
ClearAddressSubscriptions ( Address address ) : void
GetSubscriberAddressesForMessage ( Type messageType ) : IEnumerable
RefreshSubscriptions ( ) : void
Subscribe ( Address address, Type messageType ) : void
Unsubscribe ( Address address, Type messageType ) : void

Method Details

ClearAddressSubscriptions() public method

public ClearAddressSubscriptions ( Address address ) : void
address Address
return void

GetSubscriberAddressesForMessage() public method

public GetSubscriberAddressesForMessage ( Type messageType ) : IEnumerable
messageType System.Type
return IEnumerable

RefreshSubscriptions() public method

public RefreshSubscriptions ( ) : void
return void

Subscribe() public method

public Subscribe ( Address address, Type messageType ) : void
address Address
messageType System.Type
return void

Unsubscribe() public method

public Unsubscribe ( Address address, Type messageType ) : void
address Address
messageType System.Type
return void