Expand description
DDS Interface Abstraction
Provides an abstract interface for DDS operations that the persistence service uses. This allows the persistence service to work without direct dependency on the core hdds Participant implementation.
§Integration
To integrate with HDDS core, implement the DdsInterface trait:
ⓘ
impl DdsInterface for HddsParticipant {
fn subscribe(&self, topic: &str) -> Result<Box<dyn DataReader>> {
// Create real DataReader...
}
// ...
}Structs§
- Discovered
Reader - Discovered reader information
- Discovered
Writer - Discovered writer information
- Mock
DdsInterface - Mock DDS interface for testing without real HDDS
- Received
Sample - Received sample from DDS
Enums§
- Durability
Kind - Durability policy exposed by discovery.
Traits§
- Data
Reader - Abstract data reader interface
- Data
Writer - Abstract data writer interface
- DdsInterface
- Abstract DDS interface for persistence service
- Discovery
Callback - Callback-based discovery listener
- Sample
Callback - Callback-based sample receiver