Carrier-owned state for exactly one authenticated local connection. More...
#include <control_service.hpp>
Public Member Functions | |
| ~Session () | |
| Session (const Session &)=delete | |
| Session & | operator= (const Session &)=delete |
| Session (Session &&other) noexcept | |
| Session & | operator= (Session &&other) noexcept |
| bool | is_open () const |
| const ControlClientId & | client_id () const |
| const VerifiedControlPeerIdentity & | peer () const |
| ControlServiceResult | dispatch (std::string_view encoded_envelope) |
| ControlArtifactReadResult | read_artifact (std::string_view artifact_id, std::uint64_t offset, std::size_t maximum_bytes) |
| Reads only artifacts produced by this connection-bound client ID. | |
Friends | |
| class | ControlService |
Carrier-owned state for exactly one authenticated local connection.
Negotiation cannot leak across peers and is discarded on disconnect by destroying this value.
| pulp::inspect::ControlService::Session::~Session | ( | ) |
|
delete |
|
noexcept |
|
inline |
| ControlServiceResult pulp::inspect::ControlService::Session::dispatch | ( | std::string_view | encoded_envelope | ) |
|
inline |
|
inline |
| ControlArtifactReadResult pulp::inspect::ControlService::Session::read_artifact | ( | std::string_view | artifact_id, |
| std::uint64_t | offset, | ||
| std::size_t | maximum_bytes ) |
Reads only artifacts produced by this connection-bound client ID.
|
friend |