pub trait HistoricalEventProvider {
    fn read_event_details(
        &self,
        _address_space: Arc<RwLock<AddressSpace>>,
        _request: ReadEventDetails,
        _timestamps_to_return: TimestampsToReturn,
        _release_continuation_points: bool,
        _nodes_to_read: &[HistoryReadValueId]
    ) -> Result<Vec<HistoryReadResult>, StatusCode> { ... } fn update_event_details(
        &self,
        _address_space: Arc<RwLock<AddressSpace>>,
        _request: UpdateEventDetails
    ) -> Result<Vec<StatusCode>, StatusCode> { ... } fn delete_event_details(
        &self,
        _address_space: Arc<RwLock<AddressSpace>>,
        _request: DeleteEventDetails
    ) -> Result<Vec<StatusCode>, StatusCode> { ... } }
Expand description

The HistoricalEventProvider trait provides the function stubs that a server will call to process historical event operations. The implementor of this trait may provide their

IMPORTANT NOTE: This trait is currently synchronous and may change in the future to some other form. In the meantime it means if you are doing lengthy reads then use continuation points to spawn a thread for that activity. Updates and deletes should be spawned on separate threads if they are lengthy operations.

Provided methods

Implementors