libe3 0.6.1
C++ library for E3AP RAN vendor integration
Loading...
Searching...
No Matches
libe3::ControlResult Struct Reference

What a Service Model answers to a control (see ServiceModel::respond_to_control). More...

#include <types.hpp>

Public Attributes

ResponseCode response_code {ResponseCode::POSITIVE}
 Whether the control was applied.
std::optional< Cause > cause
 Why not (negative only).
std::optional< std::string > detail
 UTF-8 text for the cause, up to MAX_DETAIL_SIZE bytes.
std::vector< uint8_t > outcome
 Opaque service-model content; empty for none.

Detailed Description

What a Service Model answers to a control (see ServiceModel::respond_to_control).

Definition at line 382 of file types.hpp.

Member Data Documentation

◆ cause

std::optional<Cause> libe3::ControlResult::cause

Why not (negative only).

Definition at line 384 of file types.hpp.

◆ detail

std::optional<std::string> libe3::ControlResult::detail

UTF-8 text for the cause, up to MAX_DETAIL_SIZE bytes.

Definition at line 385 of file types.hpp.

◆ outcome

std::vector<uint8_t> libe3::ControlResult::outcome

Opaque service-model content; empty for none.

Definition at line 386 of file types.hpp.

◆ response_code

ResponseCode libe3::ControlResult::response_code {ResponseCode::POSITIVE}

Whether the control was applied.

Definition at line 383 of file types.hpp.


The documentation for this struct was generated from the following file: