Expand description
Special module that allows users to interact and communicate with a group of actors through the dispatchers that holds information about actors grouped together.
Structs§
- Dispatcher
- A generic implementation of the Bastion dispatcher
- Round
Robin Handler - Dispatcher that will do simple round-robin distribution
Enums§
- Broadcast
Target - Defines types of the notifications handled by the dispatcher when the group of actors is changing.
- Dispatcher
Type - Defines the type of the dispatcher.
- Notification
Type - Defines types of the notifications handled by the dispatcher when the group of actors is changing.
Traits§
- Dispatcher
Handler - Generic trait which any custom dispatcher handler must implement for
the further usage by the
Dispatcherinstances. - Recipient
- A
Recipientis responsible for maintaining it’s list of recipients, and deciding which child gets to receive which message. - Recipient
Handler - A
RecipientHandleris aRecipientimplementor, that can be stored in the dispatcher
Type Aliases§
- Default
Dispatcher Handler - The default handler, which does round-robin.
- Default
Recipient Handler - The default handler, which does round-robin.
- Dispatcher
Map - Type alias for the concurrency hashmap. Each key-value pair stores the Bastion identifier as the key and the module name as the value.
- Recipient
Map - Type alias for the recipients hashset. Each key-value pair stores the Bastion identifier as the key.