Clears all session cache data and tracked peer client states.
Retrieves and clears the saved Stream Management session configuration for resumption.
The remote peer identifier.
The StreamSession or undefined.
Retrieves the current client state of a remote peer.
The remote peer identifier.
The client state or undefined if not tracked.
Helper check to determine if a remote peer is marked as inactive.
The remote peer identifier.
True if the peer client state is 'inactive'.
Stores Stream Management session details for a peer to allow resumption after disconnect.
The remote peer identifier.
The session state configuration.
Updates the tracked client state (active or inactive) for a remote peer.
The remote peer identifier.
The client state (active/inactive).
Tracks peer CSI state and saved XEP-0198 sessions.