Skip to main content

Module ldm_service

Module ldm_service 

Source
Expand description

LDM service layer — business logic for insert, query, and subscriptions.

LdmService is the central component shared by both IfLdm3 and IfLdm4. It holds:

  • an Arc<RwLock<LdmStore>> for the actual record storage,
  • registered provider and consumer ITS-AID sets,
  • an ordered list of active subscriptions.

The maintenance thread calls fire_subscriptions once per second; the method walks all SubscriptionEntrys and, when their notify interval has elapsed, sends the current matching records through the subscription channel.

Structs§

LdmService
Core LDM service. Shared (via Arc) between IfLdm3 and IfLdm4.