A wrapper around a grouped AVP used to locate and access the AVP's in the parent message or grouped AVP.
More...
#include <efd.h>
A wrapper around a grouped AVP used to locate and access the AVP's in the parent message or grouped AVP.
| FDExtractor::FDExtractor |
( |
| ) |
|
Constructs an extractor from a message (answer or request).
- Parameters
-
| msg | the message to encapsulate. |
Class constructor.
- Parameters
-
| de | the command dictionary entry for this extractor. |
Class constructor.
- Parameters
-
| parent | the parent extractor object. |
| de | the AVP dictionary entry for this extractor. |
| FDExtractor::~FDExtractor |
( |
| ) |
|
|
virtual |
Adds a child extractor to this extractor.
| Void FDExtractor::dump |
( |
| ) |
|
Prints the underlying freeDiameter message or AVP to stdout.
| Bool FDExtractor::exists |
( |
Bool |
skipResolve = false | ) |
|
Determines if this extractor exists in the underlying freeDiameter message or grouped AVP.
- Returns
- True if the AVP has been found in the message or grouped AVP.
Retrieves the extractor type.
- Returns
- the extractor type.
Implements FDExtractorBase.
| Bool FDExtractor::getJson |
( |
std::string & |
json | ) |
|
Retrieves a JSON representation of the message or AVP.
- Parameters
-
| json | the destination for the JSON representation. |
- Returns
- True if the message or AVP was successfully converted to JSON, otherwise False.
retrieves the parent of this extractor.
- Returns
- pointer to the parent extractor.
| msg_or_avp * FDExtractor::getReference |
( |
| ) |
|
retrieves the freeDiameter reference for this extractor.
- Returns
- the freeDiameter message or AVP reference pointer.
| Void FDExtractor::resolve |
( |
| ) |
|
|
protected |
Locates this AVP in the freeDiameter message or grouped AVP.
| Void FDExtractor::setReference |
( |
FDMessage & |
msg | ) |
|
|
inline |
Assigns the reference that this extractor is associated wtih.
- Parameters
-
| Void FDExtractor::setReference |
( |
FDAvp & |
avp | ) |
|
|
inline |
Assigns the reference that this extractor is associated wtih.
- Parameters
-
| Void FDExtractor::setReference |
( |
msg_or_avp * |
m | ) |
|
|
inline |
Assigns the reference that this extractor is associated wtih.
- Parameters
-
| m | a freeDiameter AVP or message pointer. |
The documentation for this class was generated from the following files:
- /home/vagrant/share/code/epctools-omec-pfcp/include/epc/efd.h
- /home/vagrant/share/code/epctools-omec-pfcp/src/efd.cpp