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

A EPC node selector. More...

#include <epcdns.h>

Inheritance diagram for EPCDNS::EpcNodeSelector:
EPCDNS::NodeSelector

Public Member Functions

 EpcNodeSelector (const char *node, const char *mnc, const char *mcc, AppServiceEnum appsvc=x_3gpp_any)
 Class constructor. More...
 
 EpcNodeSelector (const char *node, const unsigned char *plmnid, AppServiceEnum appsvc=x_3gpp_any)
 Class constructor. More...
 
 EpcNodeSelector (const char *fqdn, AppServiceEnum appsvc=x_3gpp_any)
 Class constructor. More...
 
AppProtocoladdDesiredProtocol (PGWAppProtocolEnum p)
 Adds the desired application protocol to the selector. More...
 
EpcNodeSelectorsetAppService (AppServiceEnum s)
 Assigns the required application service type. 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 EPC node selector.

Constructor & Destructor Documentation

◆ EpcNodeSelector() [1/3]

EPCDNS::EpcNodeSelector::EpcNodeSelector ( const char *  node,
const char *  mnc,
const char *  mcc,
AppServiceEnum  appsvc = x_3gpp_any 
)
inline

Class constructor.

Parameters
nodethe node name.
mncthe mobile network code.
mccthe mcc mobile country code.
appsvcthe desired application service. Defaults to x_3gpp_any.

◆ EpcNodeSelector() [2/3]

EPCDNS::EpcNodeSelector::EpcNodeSelector ( const char *  node,
const unsigned char *  plmnid,
AppServiceEnum  appsvc = x_3gpp_any 
)
inline

Class constructor.

Parameters
nodethe node name.
plmnidthe public land mobile network ID.
appsvcthe desired application service. Defaults to x_3gpp_any.

◆ EpcNodeSelector() [3/3]

EPCDNS::EpcNodeSelector::EpcNodeSelector ( const char *  fqdn,
AppServiceEnum  appsvc = x_3gpp_any 
)
inline

Class constructor.

Parameters
fqdnthe node name.
appsvcthe desired application service. Defaults to x_3gpp_any.

Member Function Documentation

◆ addDesiredProtocol()

AppProtocol* EPCDNS::EpcNodeSelector::addDesiredProtocol ( PGWAppProtocolEnum  p)
inline

Adds the desired application protocol to the selector.

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

◆ setAppService()

EpcNodeSelector& EPCDNS::EpcNodeSelector::setAppService ( AppServiceEnum  s)
inline

Assigns the required application service type.

Parameters
sthe desired application service.
Returns
a reference to this object.

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