1. Overview
Connection identity implementation. Builds a deterministic key from protocol, endpoint and process identity fields for deduplication and decision caching.
The original source path is:
src/model/Connection.cpp
2. Role in the Daemon
This file participates in the privileged BastionGuard Secure Connection daemon. It uses the shared bsc models and follows the daemon-wide fallback strategy: optional high-fidelity backends are used when available, while portable polling or stub behavior preserves service startup.
3. Namespaces
bsc::model
4. Dependencies and Included Interfaces
bsc/model/Connection.hppsstream
5. API and Functions
The file declares or implements the following callable entry points:
Connection::key()
6. External Resources and Protocol Values
Relevant paths, endpoints, command names or policy values referenced by this file include:
bsc/model/Connection.hpp
7. Implementation Considerations
- The file follows the daemon-wide convention of returning status values or optional objects instead of making recoverable conditions fatal.
8. Source Metrics
| Metric | Value |
|---|---|
| File size | 342 bytes |
| Lines | 13 |
| Detected API entries | 1 |
| Detected types | 0 |
