ZoeClientSessionManager

Type Alias ZoeClientSessionManager 

Source
pub type ZoeClientSessionManager = SessionManager<ZoeClientStorage, ZoeClientMessageManager>;

Aliased Type§

pub struct ZoeClientSessionManager {
    storage: Arc<SqliteMessageStorage>,
    messages_manager: Arc<MultiRelayMessageManager<SqliteMessageStorage>>,
    pqxdh_handlers: RwLock<BTreeMap<PqxdhInboxProtocol, (Arc<PqxdhProtocolHandler<MultiRelayMessageManager<SqliteMessageStorage>>>, JoinHandle<()>)>>,
    group_manager: GroupManager,
    group_manager_task: JoinHandle<()>,
    client_keypair: Arc<KeyPair>,
}

Fields§

§storage: Arc<SqliteMessageStorage>

Underlying state storage

§messages_manager: Arc<MultiRelayMessageManager<SqliteMessageStorage>>

Messages manager for subscription and message handling

§pqxdh_handlers: RwLock<BTreeMap<PqxdhInboxProtocol, (Arc<PqxdhProtocolHandler<MultiRelayMessageManager<SqliteMessageStorage>>>, JoinHandle<()>)>>

PQXDH handlers with their background listener tasks

§group_manager: GroupManager

Group manager instance with background listener task

§group_manager_task: JoinHandle<()>§client_keypair: Arc<KeyPair>