|
Entropic 2.14.3
Local-first agentic inference engine
|
A server that keeps state per session and can release it (gh#158). More...
#include <entropic/mcp/session_scoped.h>

Public Member Functions | |
| virtual | ~SessionStateOwner ()=default |
| Virtual destructor for a polymorphic mixin. | |
| virtual bool | release_session (const std::string &key)=0 |
Drop everything this server holds for key. | |
| virtual std::size_t | session_count () const =0 |
| Sessions this server currently holds state for. | |
A server that keeps state per session and can release it (gh#158).
Mixed into a concrete server BESIDE MCPServerBase, so the base's plugin-visible vtable is untouched. ServerManager::release_session cross-casts each in-process server to this and releases the key.
Definition at line 133 of file session_scoped.h.
|
virtualdefault |
Virtual destructor for a polymorphic mixin.
Drop everything this server holds for key.
| key | Session key ("" = the default session). |
Implemented in entropic::EntropicServer, and entropic::FilesystemServer.
|
pure virtual |
Sessions this server currently holds state for.
Implemented in entropic::EntropicServer, and entropic::FilesystemServer.