ANNA Suite  2020b
Multipurpose development suite for Telco applications
Public Member Functions | List of all members
anna::diameter::app::dcca::nokia::Message Class Reference

#include <Message.hpp>

Inheritance diagram for anna::diameter::app::dcca::nokia::Message:
Inheritance graph
[legend]
Collaboration diagram for anna::diameter::app::dcca::nokia::Message:
Collaboration graph
[legend]

Public Member Functions

const Unsigned32get3GPPPDPType (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const OctetStringgetFramedIP (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const UTF8StringgetCalledStationId (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const UTF8Stringget3GPPSGSNMCCMNC (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const OctetStringget3GPPSGSNAddress (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const UTF8Stringget3GPPChargingCharacteristics (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const OctetStringget3GPPCGAddress (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const OctetStringget3GPPRatType (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const Unsigned32getNokiaIMSMediaComponentId (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const TimegetTimeOfLastUsage (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const TimegetTimeOfFirstUsage (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const OctetStringgetSessionStartIndicator (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const UTF8StringgetRuleBaseId (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const OctetStringget3GPPGGSNAddress (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const EnumeratedgetNOKIAReportingReason (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const Unsigned32get3GPPChargingId (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const UTF8Stringget3GPPGPRSNegQoSProfile (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
- Public Member Functions inherited from anna::diameter::app::dcca::Message
const UTF8StringgetSubscriptionIdData (int subscriptionIdType=helpers::dcca::AVPVALUES__Subscription_Id_Type::END_USER_E164, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const anna::diameter::codec::AvpgetMultipleServicesCreditControl (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const Unsigned32getServiceIdentifier (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const Unsigned32getRatingGroup (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const EnumeratedgetTariffChangeUsage (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const Unsigned32getValidityTime (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const anna::diameter::codec::AvpgetRequestedServiceUnit (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const anna::diameter::codec::AvpgetUsedServiceUnit (int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const EnumeratedgetCCRequestType (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const Unsigned32getCCRequestNumber (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const EnumeratedgetMultipleServicesIndicator (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const UTF8StringgetServiceContextId (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const UTF8Stringget3GPPNSAPI (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const UTF8Stringget3GPPSelectionMode (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const OctetStringget3GPPSessionStopIndicator (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const anna::diameter::codec::AvpgetUserEquipmentInfo (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const OctetStringgetUserEquipmentInfoValue (int userEquipmentInfoType=helpers::dcca::AVPVALUES__User_Equipment_Info_Type::IMEISV, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const qosProfile_tdecode3GPPGPRSNegQoSProfile () noexcept(false)
 
- Public Member Functions inherited from anna::diameter::app::base::Message
const UTF8StringgetSessionId (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const DiameterIdentitygetDestinationHost (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const DiameterIdentitygetDestinationRealm (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const UTF8StringgetUserName (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const EnumeratedgetTerminationCause (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const Unsigned32getAuthApplicationId (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const TimegetEventTimestamp (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
- Public Member Functions inherited from anna::diameter::codec::Message
 Message (Engine *engine=NULL)
 
 Message (CommandId id, Engine *engine=NULL)
 
void setEngine (Engine *engine)
 
virtual ~Message ()
 
void setId (CommandId id) noexcept(false)
 
void setId (const char *name) noexcept(false)
 
void setVersion (U8 version)
 
void setProxiableBit (bool activate=true)
 
void setErrorBit (bool activate=true)
 
void setPotentiallyReTransmittedMessageBit (bool activate=true)
 
void setApplicationId (U32 aid) noexcept(false)
 
void setHopByHop (U32 hbh)
 
void setEndToEnd (U32 ete)
 
void setHeaderToAnswer (const Message &request) noexcept(false)
 
void setStandardToAnswer (const Message &request, const std::string &originHost, const std::string &originRealm, int resultCode=helpers::base::AVPVALUES__Result_Code::DIAMETER_SUCCESS) noexcept(false)
 
void setResultCode (int rc=helpers::base::AVPVALUES__Result_Code::DIAMETER_SUCCESS) noexcept(false)
 
int getResultCode () const
 
AvpaddAvp (AvpId id) noexcept(false)
 
AvpaddAvp (const char *name) noexcept(false)
 
AvpaddAvp (Avp *avp)
 
bool removeAvp (AvpId id, int ocurrence=1) noexcept(false)
 
bool removeAvp (const char *name, int ocurrence=1) noexcept(false)
 
virtual void clear (bool resetEngine=true) noexcept(false)
 
void decode (const anna::DataBlock &db, Message *ptrAnswer=NULL) noexcept(false)
 
void fix ()
 
bool valid (Message *ptrAnswer=NULL) const noexcept(false)
 
void fromXML (const anna::xml::Node *messageNode) noexcept(false)
 
void loadXMLFile (const std::string &xmlPathFile) noexcept(false)
 
void loadXMLString (const std::string &xmlString) noexcept(false)
 
const CommandIdgetId () const
 
U8 getVersion () const
 
bool isRequest () const
 
bool isAnswer () const
 
const U32getApplicationId () const
 
const U32getHopByHop () const
 
const U32getEndToEnd () const
 
const anna::diameter::stack::CommandgetStackCommand () const noexcept(false)
 
bool requestBit () const
 
bool proxiableBit () const
 
bool errorBit () const
 
bool potentiallyReTransmittedMessageBit () const
 
const AvpgetAvp (AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
 
AvpgetAvp (AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const AvpgetAvp (const char *name, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
 
AvpgetAvp (const char *name, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
int countAvp (AvpId id) const
 
int countAvp (const char *name) const noexcept(false)
 
int countChilds () const
 
const anna::DataBlockcode () noexcept(false)
 
anna::xml::NodeasXML (anna::xml::Node *parent) const
 
std::string asXMLString (bool normalize=false) const
 
bool isLike (const std::string &pattern) const
 

Additional Inherited Members

- Static Public Attributes inherited from anna::diameter::codec::Message
static const int HeaderLength
 
static const U8 RBitMask
 
static const U8 PBitMask
 
static const U8 EBitMask
 
static const U8 TBitMask
 
- Protected Member Functions inherited from anna::diameter::codec::Message
virtual EnginegetEngine () const noexcept(false)
 
virtual void initialize ()
 
- Protected Attributes inherited from anna::diameter::codec::Message
Enginea_engine
 

Detailed Description

Diameter message for Nokia DCCA (diameter credit control application)

Member Function Documentation

◆ get3GPPCGAddress()

const OctetString* anna::diameter::app::dcca::nokia::Message::get3GPPCGAddress ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 3GPP-CG-Address data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
112  {
113  ASSERT_APP_GETAVP(return getAvp(helpers::tgpp::AVPID__3GPP_CG_Address)->getOctetString());
114  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ get3GPPChargingCharacteristics()

const UTF8String* anna::diameter::app::dcca::nokia::Message::get3GPPChargingCharacteristics ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 3GPP-Charging-Characteristics data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
104  {
105  ASSERT_APP_GETAVP(return getAvp(helpers::tgpp::AVPID__3GPP_Charging_Characteristics)->getUTF8String());
106  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ get3GPPChargingId()

const Unsigned32* anna::diameter::app::dcca::nokia::Message::get3GPPChargingId ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 3GPP-Charging-Id data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
184  {
185  ASSERT_APP_GETAVP(return getAvp(helpers::tgpp::AVPID__3GPP_Charging_Id)->getUnsigned32());
186  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ get3GPPGGSNAddress()

const OctetString* anna::diameter::app::dcca::nokia::Message::get3GPPGGSNAddress ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 3GPP-GGSN-Address data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
168  {
169  ASSERT_APP_GETAVP(return getAvp(helpers::tgpp::AVPID__3GPP_GGSN_Address)->getOctetString());
170  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ get3GPPGPRSNegQoSProfile()

const UTF8String* anna::diameter::app::dcca::nokia::Message::get3GPPGPRSNegQoSProfile ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinevirtualnoexcept

Avp 3GPP_GPRS_Neg_QoS_Profile data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).

Implements anna::diameter::app::dcca::Message.

193  {
194  ASSERT_APP_GETAVP(return getAvp(helpers::tgpp::AVPID__3GPP_GPRS_Neg_QoS_Profile)->getUTF8String());
195  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ get3GPPPDPType()

const Unsigned32* anna::diameter::app::dcca::nokia::Message::get3GPPPDPType ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 3GPP-PDP-Type data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
55  {
56  ASSERT_APP_GETAVP(return getAvp(helpers::tgpp::AVPID__3GPP_PDP_Type)->getUnsigned32());
57  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ get3GPPRatType()

const OctetString* anna::diameter::app::dcca::nokia::Message::get3GPPRatType ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 3GPP-Rat-Type data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
120  {
121  ASSERT_APP_GETAVP(return getAvp(helpers::tgpp::AVPID__3GPP_Rat_Type)->getOctetString());
122  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ get3GPPSGSNAddress()

const OctetString* anna::diameter::app::dcca::nokia::Message::get3GPPSGSNAddress ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 3GPP-SGSN-Address data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
96  {
97  ASSERT_APP_GETAVP(return getAvp(helpers::tgpp::AVPID__3GPP_SGSN_Address)->getOctetString());
98  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ get3GPPSGSNMCCMNC()

const UTF8String* anna::diameter::app::dcca::nokia::Message::get3GPPSGSNMCCMNC ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 3GPP-SGSN-MCC-MNC data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
88  {
89  ASSERT_APP_GETAVP(return getAvp(helpers::tgpp::AVPID__3GPP_SGSN_MCC_MNC)->getUTF8String());
90  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ getCalledStationId()

const UTF8String* anna::diameter::app::dcca::nokia::Message::getCalledStationId ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp Called-Station-Id data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
80  {
81  ASSERT_APP_GETAVP(return getAvp(helpers::radius::AVPID__Called_Station_Id)->getUTF8String());
82  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ getFramedIP()

const OctetString* anna::diameter::app::dcca::nokia::Message::getFramedIP ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp Framed-IP-Address or Framed-IPv6-Prefix data-part pointer reference, depending on 3GPP-PDP-Type value

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
64  {
66  int pdpType = get3GPPPDPType()->getValue();
67 
68  if(pdpType == helpers::tgpp::AVPVALUES__3GPP_PDP_Type::IPV4)
69  return getAvp(helpers::radius::AVPID__Framed_IP_Address)->getOctetString();
70  if(pdpType == helpers::tgpp::AVPVALUES__3GPP_PDP_Type::IPV6)
71  return getAvp(helpers::radius::AVPID__Framed_IPv6_Prefix)->getOctetString();
72  return NULL;
73  );
74  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659
const Unsigned32 * get3GPPPDPType(anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
Definition: Message.hpp:55

◆ getNokiaIMSMediaComponentId()

const Unsigned32* anna::diameter::app::dcca::nokia::Message::getNokiaIMSMediaComponentId ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp Nokia-IMS-Media-Component-Id data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
128  {
129  ASSERT_APP_GETAVP(return getAvp(helpers::nokia::AVPID__Nokia_IMS_Media_Component_Id)->getUnsigned32());
130  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ getNOKIAReportingReason()

const Enumerated* anna::diameter::app::dcca::nokia::Message::getNOKIAReportingReason ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp Nokia-Reporting-Reason data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
176  {
177  ASSERT_APP_GETAVP(return getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->getAvp(helpers::nokia::AVPID__Nokia_Reporting_Reason)->getEnumerated());
178  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ getRuleBaseId()

const UTF8String* anna::diameter::app::dcca::nokia::Message::getRuleBaseId ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp Rule-Base-Id data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
160  {
161  ASSERT_APP_GETAVP(return getAvp(helpers::nokia::AVPID__Rule_Base_Id)->getUTF8String());
162  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ getSessionStartIndicator()

const OctetString* anna::diameter::app::dcca::nokia::Message::getSessionStartIndicator ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp Session-Start-Indicator data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
152  {
153  ASSERT_APP_GETAVP(return getAvp(helpers::nokia::AVPID__Session_Start_Indicator)->getOctetString());
154  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ getTimeOfFirstUsage()

const Time* anna::diameter::app::dcca::nokia::Message::getTimeOfFirstUsage ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp Time-Of-First-Usage data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
144  {
145  ASSERT_APP_GETAVP(return getAvp(helpers::nokia::AVPID__Time_Of_First_Usage)->getTime());
146  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

◆ getTimeOfLastUsage()

const Time* anna::diameter::app::dcca::nokia::Message::getTimeOfLastUsage ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp Time-Of-Last-Usage data-part pointer reference

Parameters
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
136  {
137  ASSERT_APP_GETAVP(return getAvp(helpers::nokia::AVPID__Time_Of_Last_Usage)->getTime());
138  }
#define ASSERT_APP_GETAVP(source)
Definition: defines.hpp:15
const Avp * getAvp(AvpId id, int ocurrence=1, anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) const noexcept(false)
Definition: Message.hpp:659

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