ANNA Suite  2020b
Multipurpose development suite for Telco applications
Public Types | List of all members
anna::diameter::codec::EngineImpl::FixMode Struct Reference

#include <EngineImpl.hpp>

Public Types

enum  _v { BeforeEncoding, AfterDecoding, Always, Never }
 

Detailed Description

Defines behaviour mode regarding when to fix a message: before encoding (by default), after decoding, always or never. An application could add Avps in any order; the fix procedure try to adjust it regarding dictionary. I.e., fixed Avps will be placed on first position, before mandatory and optional ones, within the message level or any grouped Avp. Usually we need to configure fixing before encoding in order to provide flexibility to the application during message construction, but actually, optimal mode implies disabling this procedure. Fixing after decoding will hide any validation problem regarding Avps position at any level. Anyway fix procedure may be called at any moment (#fix)

Member Enumeration Documentation

◆ _v

Enumerator
BeforeEncoding 
AfterDecoding 
Always 
Never 
158 { enum _v { BeforeEncoding /* default */, AfterDecoding, Always, Never /* optimization */ }; };
_v
Definition: EngineImpl.hpp:158

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