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

#include <Message.hpp>

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

Public Member Functions

const anna::diameter::codec::AvpgetPSInformation (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 Unsigned32get3GPPPDPType (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 UTF8Stringget3GPPChargingCharacteristics (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const UTF8Stringget3GPPGPRSNegQoSProfile (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const AddressgetCGAddress (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 AddressgetSGSNAddress (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const AddressgetGGSNAddress (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 EnumeratedgetReportingReason (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const EnumeratedgetTriggerType (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const anna::diameter::codec::AvpgetPSFurnishChargingInformation (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const OctetStringgetPSFreeFormatData (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const EnumeratedgetPSAppendFreeFormatData (anna::Exception::Mode::_v emode=anna::Exception::Mode::Throw) noexcept(false)
 
const AddressgetPDPAddress (int ocurrence=1, 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

◆ get3GPPChargingCharacteristics()

const UTF8String* anna::diameter::app::dcca::huawei::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).
101  {
103  return getAvp(helpers::tgpp::AVPID__Service_Information)->
104  getAvp(helpers::tgpp::AVPID__PS_Information)->
105  getAvp(helpers::tgpp::AVPID__3GPP_Charging_Characteristics)->getUTF8String();
106  );
107  }
#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::huawei::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).
173  {
175  return getAvp(helpers::tgpp::AVPID__Service_Information)->
176  getAvp(helpers::tgpp::AVPID__PS_Information)->
177  getAvp(helpers::tgpp::AVPID__3GPP_Charging_Id)->getUnsigned32();
178  );
179  }
#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::huawei::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.

113  {
115  return getAvp(helpers::tgpp::AVPID__Service_Information)->
116  getAvp(helpers::tgpp::AVPID__PS_Information)->
117  getAvp(helpers::tgpp::AVPID__3GPP_GPRS_Neg_QoS_Profile)->getUTF8String();
118  );
119  }
#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::huawei::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).
77  {
79  return getAvp(helpers::tgpp::AVPID__Service_Information)->
80  getAvp(helpers::tgpp::AVPID__PS_Information)->
81  getAvp(helpers::tgpp::AVPID__3GPP_PDP_Type)->getUnsigned32();
82  );
83  }
#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::huawei::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).
137  {
139  return getAvp(helpers::tgpp::AVPID__Service_Information)->
140  getAvp(helpers::tgpp::AVPID__PS_Information)->
141  getAvp(helpers::tgpp::AVPID__3GPP_Rat_Type)->getOctetString();
142  );
143  }
#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::huawei::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).
89  {
91  return getAvp(helpers::tgpp::AVPID__Service_Information)->
92  getAvp(helpers::tgpp::AVPID__PS_Information)->
93  getAvp(helpers::tgpp::AVPID__3GPP_SGSN_MCC_MNC)->getUTF8String();
94  );
95  }
#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::huawei::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).
65  {
67  return getAvp(helpers::tgpp::AVPID__Service_Information)->
68  getAvp(helpers::tgpp::AVPID__PS_Information)->
69  getAvp(helpers::radius::AVPID__Called_Station_Id)->getUTF8String();
70  );
71  }
#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

◆ getCGAddress()

const Address* anna::diameter::app::dcca::huawei::Message::getCGAddress ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 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).
125  {
127  return getAvp(helpers::tgpp::AVPID__Service_Information)->
128  getAvp(helpers::tgpp::AVPID__PS_Information)->
129  getAvp(helpers::tgpp::AVPID__CG_Address)->getAddress();
130  );
131  }
#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

◆ getGGSNAddress()

const Address* anna::diameter::app::dcca::huawei::Message::getGGSNAddress ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 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).
161  {
163  return getAvp(helpers::tgpp::AVPID__Service_Information)->
164  getAvp(helpers::tgpp::AVPID__PS_Information)->
165  getAvp(helpers::tgpp::AVPID__GGSN_Address)->getAddress();
166  );
167  }
#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

◆ getPDPAddress()

const Address* anna::diameter::app::dcca::huawei::Message::getPDPAddress ( int  ocurrence = 1,
anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw 
)
inlinenoexcept

Avp n-th PDP-Address pointer reference

Parameters
ocurrenceSelect the n-th PDP-Address within the PS-Information. First by default.
emodeExcepcion mode handling when avp is not found: Ignore (no action is taken but debug trace), Throw (exception launched, by default), Trace (trace warning).
241  {
243  return getAvp(helpers::tgpp::AVPID__Service_Information)->
244  getAvp(helpers::tgpp::AVPID__PS_Information)->
245  getAvp(helpers::tgpp::AVPID__PDP_Address)->getAddress();
246  );
247  }
#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

◆ getPSAppendFreeFormatData()

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

Avp PS-Append-Free-Format-Data 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).
228  {
230  return getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->
231  getAvp(helpers::tgpp::AVPID__PS_Furnish_Charging_Information)->
232  getAvp(helpers::tgpp::AVPID__PS_Append_Free_Format_Data)->getEnumerated();
233  );
234  }
#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

◆ getPSFreeFormatData()

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

Avp PS-Free-Format-Data 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).
216  {
218  return getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->
219  getAvp(helpers::tgpp::AVPID__PS_Furnish_Charging_Information)->
220  getAvp(helpers::tgpp::AVPID__PS_Free_Format_Data)->getOctetString();
221  );
222  }
#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

◆ getPSFurnishChargingInformation()

const anna::diameter::codec::Avp* anna::diameter::app::dcca::huawei::Message::getPSFurnishChargingInformation ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp PS-Furnish-Charging-Information 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).
205  {
207  return getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->
208  getAvp(helpers::tgpp::AVPID__PS_Furnish_Charging_Information);
209  );
210  }
#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

◆ getPSInformation()

const anna::diameter::codec::Avp* anna::diameter::app::dcca::huawei::Message::getPSInformation ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp PS-Information 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).
54  {
56  return getAvp(helpers::tgpp::AVPID__Service_Information)->
57  getAvp(helpers::tgpp::AVPID__PS_Information);
58  );
59  }
#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

◆ getReportingReason()

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

Avp 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).
185  {
186  ASSERT_APP_GETAVP(return getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->getAvp(helpers::tgpp::AVPID__Reporting_Reason)->getEnumerated());
187  }
#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

◆ getSGSNAddress()

const Address* anna::diameter::app::dcca::huawei::Message::getSGSNAddress ( anna::Exception::Mode::_v  emode = anna::Exception::Mode::Throw)
inlinenoexcept

Avp 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).
149  {
151  return getAvp(helpers::tgpp::AVPID__Service_Information)->
152  getAvp(helpers::tgpp::AVPID__PS_Information)->
153  getAvp(helpers::tgpp::AVPID__SGSN_Address)->getAddress();
154  );
155  }
#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

◆ getTriggerType()

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

Avp Trigger-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).
193  {
195  return getAvp(helpers::dcca::AVPID__Multiple_Services_Credit_Control)->
196  getAvp(helpers::tgpp::AVPID__Trigger)->
197  getAvp(helpers::tgpp::AVPID__Trigger_Type)->getEnumerated();
198  );
199  }
#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: