|
Relational NT
A relational database kernel shaped around NT-style object management.
|
Opens and closes authorized handles to registry objects. More...
#include <HandlerManager.h>
Classes | |
| struct | handle |
| Represents authorized access to an object in the registry. More... | |
Public Member Functions | |
| HandlerManager (ObjectManager &objects, PermissionsManager &permissions, IdentityManager &identities, LifecycleManager &lifecycles, NamespaceReferenceManager &references) | |
| Constructs a HandlerManager with shared runtime dependencies. | |
| void | DeallocateHandle (struct handle *handle) |
| Releases a handle allocation. | |
| struct handle * | Open (std::vector< std::string > object_path, void *connection_context) |
| Opens an object by path for a connection. | |
| bool | Close (struct handle *handle) |
| Closes a previously opened handle. | |
Opens and closes authorized handles to registry objects.
| nt::HandlerManager::HandlerManager | ( | ObjectManager & | objects, |
| PermissionsManager & | permissions, | ||
| IdentityManager & | identities, | ||
| LifecycleManager & | lifecycles, | ||
| NamespaceReferenceManager & | references ) |
Constructs a HandlerManager with shared runtime dependencies.
All managers are injected so that state (registry entries, lifecycle counters, permission policy) persists across calls rather than being rebuilt per open/close.
| bool nt::HandlerManager::Close | ( | struct handle * | handle | ) |
Closes a previously opened handle.
| handle | Handle to close. |
| void nt::HandlerManager::DeallocateHandle | ( | struct handle * | handle | ) |
Releases a handle allocation.
| handle | Handle to release. |
| struct HandlerManager::handle * nt::HandlerManager::Open | ( | std::vector< std::string > | object_path, |
| void * | connection_context ) |
Opens an object by path for a connection.
| object_path | Logical object path. |
| connection_context | Connection metadata for the caller. |