|
Symbian platform (C++)
SDK native APIs, runtime and tooling
|
#include <cstddef>#include <cstdint>#include <deque>#include <optional>#include <span>#include <string>#include "absl/status/statusor.h"Go to the source code of this file.
Classes | |
| struct | symbian::agent::Frame |
| One length-prefixed MessagePack payload, without a parsed schema. More... | |
| class | symbian::agent::FrameDecoder |
| Incrementally reads one network-order, 32-bit length-prefixed frame. More... | |
| class | symbian::agent::InboundQueue |
| Completed inbound frames awaiting schema dispatch. More... | |
Namespaces | |
| namespace | symbian |
| namespace | symbian::agent |
Functions | |
| absl::StatusOr< std::size_t > | symbian::agent::DecodeFrameLength (std::span< const std::uint8_t > prefix, std::size_t maximum_frame_bytes=kMaximumFrameBytes) |
| Validate a complete four-byte network-order prefix before allocation. | |
| absl::StatusOr< std::string > | symbian::agent::EncodeFrame (std::span< const std::uint8_t > payload, std::size_t maximum_frame_bytes=kMaximumFrameBytes) |
| Encode one already validated MessagePack payload for an authenticated transport. | |
Variables | |
| constexpr std::size_t | symbian::agent::kMaximumFrameBytes = 64 * 1024 |
| Maximum encoded MessagePack payload accepted by the phone profile. | |
| constexpr std::size_t | symbian::agent::kMaximumQueuedBytes = 256 * 1024 |
| Maximum encoded bytes queued across inbound phone messages. | |
| constexpr std::size_t | symbian::agent::kMaximumQueuedFrames = 4 |
| Maximum number of completed inbound phone messages. | |