Skip to main content

Module sync

Module sync 

Source
Expand description

Context synchronization protocol

Handles automatic synchronization between encoder and decoder contexts. This module provides:

  • Sync message types for protocol communication
  • State machine for tracking synchronization status
  • Diff generation and application for incremental updates

Structs§

DetailResponse
Response with detailed data
RangeRequest
Request for a range of historical data
SyncAnnounce
Announcement of current context state
SyncConfig
Configuration for synchronization behavior
SyncDiff
Context diff for incremental synchronization
SyncRequest
Request for synchronization
Synchronizer
Context synchronizer - manages sync state and operations

Enums§

SyncMessage
Synchronization message types
SyncMessageType
Message type identifier for serialization
SyncState
Synchronization state machine states