|
|
| MessageSimpleMediatorService (ILogger< MessageSimpleMediatorService > logger) |
| |
|
override IEnumerable< ITarget< Type, object > > | GetChannelCopy (Type key) |
| |
|
override int | TargetCountOnChannel (Type key) |
| |
|
override async Task | Send (Type ch, object? sender, object msg) |
| |
|
override void | Subscribe (Type msgChannel, ITarget< Type, object > target, out ISubscription subscription) |
| |
|
override void | Subscribe (Type msgChannel, ITarget< Type, object > target, SubscriptionGuard guard) |
| |
|
override void | Unsubscribe (ISubscription< Type, object > subscription) |
| |
| void | Subscribe< TMsg > (ITarget< Type, TMsg > target, out ISubscription subscription) |
| |
| void | Subscribe< TMsg > (ITarget< Type, TMsg > target, SubscriptionGuard guard) |
| |
| Task | Send< TMsg > (object? sender, TMsg message) |
| |
Public Member Functions inherited from IotDash.Domain.Mediator.AbstractMediator< Type, object > |
| virtual void | Subscribe (TChannelKey msgChannel, ITarget< TChannelKey, TMsg > target, out ISubscription subscription) |
| |
| virtual void | Subscribe (TChannelKey msgChannel, ITarget< TChannelKey, TMsg > target, SubscriptionGuard guard) |
| |
| abstract int | TargetCountOnChannel (TChannelKey key) |
| |
| abstract IEnumerable< ITarget< TChannelKey, TMsg > > | GetChannelCopy (TChannelKey key) |
| |
|
abstract void | Unsubscribe (ISubscription< TChannelKey, TMsg > subscription) |
| |
| abstract Task | Send (TChannelKey msgChannel, object sender, TMsg msg) |
| |
Implements the application-level mediator service.
Delegates messages between subscribers based on their Type. Registered as service in IotDash.Installers.MiscServiceInstaller.