Loads the context from storage once; afterwards the process's own values stand.
The context snapshot.
Get the current value for a specific context type. Identity (user, URL) is read from storage each time; session state is this process's own once loaded.
The context type to retrieve.
The current context value or null.
Set the value for a specific context type.
The context type to set.
The value to set.
True on success, false on failure.
Reloads every context from storage: the explicit re-read, for a fresh
identity (after a connect) or a deliberate resync. The session-state
contexts (folder, feed, plugin, PACS server) are otherwise OWNED BY THIS
PROCESS once loaded: their files are written for the next process to
restore from, never re-read mid-session — two daemons of one identity
once shared a working directory through that file, and a cd in one
moved the other.
The refreshed context snapshot.
Initializes the context by loading data from the configuration directory.
Manages the ChRIS session context.