EpcTools
An event based multi-threaded C++ development framework.
Public Member Functions | List of all members
EPCDNS::PGWUPFNodeSelector Class Reference

A PGW user plane node selector. More...

#include <epcdns.h>

Inheritance diagram for EPCDNS::PGWUPFNodeSelector:
EPCDNS::NodeSelector

Public Member Functions

 PGWUPFNodeSelector (const char *apn, const char *mnc, const char *mcc)
 Class constructor. More...
 
 PGWUPFNodeSelector (const char *apn, const unsigned char *plmnid)
 Class constructor. More...
 
AppProtocoladdDesiredProtocol (UPFAppProtocolEnum p)
 Adds the desired application protocol to the selector. More...
 
- Public Member Functions inherited from EPCDNS::NodeSelector
DNS::namedserverid_t getNamedServerID ()
 Retrieves the named server ID. More...
 
DNS::namedserverid_t setNamedServerID (DNS::namedserverid_t nsid)
 Assigns the named server ID. More...
 
AppServiceEnum getDesiredService ()
 Retrieves the desired application service type. More...
 
AppProtocolListgetDesiredProtocols ()
 Retrieves the list of application protocols. More...
 
const EStringgetDomainName ()
 Retrieves the domain name. More...
 
NodeSelectorResultListgetResults ()
 Retrieves the node selector results list. More...
 
UsageType addDesiredUsageType (UsageType ut)
 Adds a desired usage type to the list of desired usage types. More...
 
NetworkCapability & addDesiredNetworkCapability (const char *nc)
 Adds a desired network capability to the list of desired network capabilities. More...
 
NetworkCapability & addDesiredNetworkCapability (NetworkCapability &nc)
 Adds a desired network capability to the list of desired network capabilities. More...
 
NodeSelectorResultListprocess ()
 Performs synchronous selection process. More...
 
Void process (cpVoid data, AsyncNodeSelectorCallback cb)
 Performs asynchronous node selection process. More...
 
Void dump ()
 Prints the contents of this object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from EPCDNS::NodeSelector
 NodeSelector ()
 Default constructor. More...
 
 ~NodeSelector ()
 Class destructor. More...
 
AppServiceEnum setAppService (AppServiceEnum s)
 Assigns the application service type. More...
 
const EStringsetDomainName (const std::string &d)
 Assigns the domain name. More...
 
Void addDesiredProtocol (AppProtocol *ap)
 Adds a desired application protcol to the desired protocol list. More...
 

Detailed Description

A PGW user plane node selector.

Constructor & Destructor Documentation

◆ PGWUPFNodeSelector() [1/2]

EPCDNS::PGWUPFNodeSelector::PGWUPFNodeSelector ( const char *  apn,
const char *  mnc,
const char *  mcc 
)
inline

Class constructor.

Parameters
apnAPN.
mncthe mobile network code.
mccthe mcc mobile country code.

◆ PGWUPFNodeSelector() [2/2]

EPCDNS::PGWUPFNodeSelector::PGWUPFNodeSelector ( const char *  apn,
const unsigned char *  plmnid 
)
inline

Class constructor.

Parameters
apnthe APN.
plmnidthe public land mobile network ID.

Member Function Documentation

◆ addDesiredProtocol()

AppProtocol* EPCDNS::PGWUPFNodeSelector::addDesiredProtocol ( UPFAppProtocolEnum  p)
inline

Adds the desired application protocol to the selector.

Parameters
pthe applciation protocol to add.
Returns
the added application protocol object.

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