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

A SGW user plane node selector. More...

#include <epcdns.h>

Inheritance diagram for EPCDNS::SGWUPFNodeSelector:
EPCDNS::NodeSelector

Public Member Functions

 SGWUPFNodeSelector (const unsigned char lb, const unsigned char hb, const char *mnc, const char *mcc)
 Class constructor. More...
 
 SGWUPFNodeSelector (unsigned char lb, unsigned char hb, const unsigned char *plmnid)
 Class constructor. More...
 
 SGWUPFNodeSelector (const char *lb, const char *hb, const char *mnc, const char *mcc)
 Class constructor. More...
 
 SGWUPFNodeSelector (const char *lb, const char *hb, const unsigned char *plmnid)
 Class constructor. More...
 
 SGWUPFNodeSelector (const char *node, const char *mnc, const char *mcc)
 Class constructor. More...
 
 SGWUPFNodeSelector (const char *node, 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 SGW user plane node selector.

Constructor & Destructor Documentation

◆ SGWUPFNodeSelector() [1/6]

EPCDNS::SGWUPFNodeSelector::SGWUPFNodeSelector ( const unsigned char  lb,
const unsigned char  hb,
const char *  mnc,
const char *  mcc 
)
inline

Class constructor.

Parameters
lblow byte of the type allocation code.
hbhigh byte of the type allocation code.
mncthe mobile network code.
mccthe mobile country code.

◆ SGWUPFNodeSelector() [2/6]

EPCDNS::SGWUPFNodeSelector::SGWUPFNodeSelector ( unsigned char  lb,
unsigned char  hb,
const unsigned char *  plmnid 
)
inline

Class constructor.

Parameters
lblow byte of the type allocation code.
hbhigh byte of the type allocation code.
plmnidthe public land mobile network ID.

◆ SGWUPFNodeSelector() [3/6]

EPCDNS::SGWUPFNodeSelector::SGWUPFNodeSelector ( const char *  lb,
const char *  hb,
const char *  mnc,
const char *  mcc 
)
inline

Class constructor.

Parameters
lblow byte of the type allocation code.
hbhigh byte of the type allocation code.
mncthe mobile network code.
mccthe mobile country code.

◆ SGWUPFNodeSelector() [4/6]

EPCDNS::SGWUPFNodeSelector::SGWUPFNodeSelector ( const char *  lb,
const char *  hb,
const unsigned char *  plmnid 
)
inline

Class constructor.

Parameters
lblow byte of the type allocation code.
hbhigh byte of the type allocation code.
plmnidthe public land mobile network ID.

◆ SGWUPFNodeSelector() [5/6]

EPCDNS::SGWUPFNodeSelector::SGWUPFNodeSelector ( const char *  node,
const char *  mnc,
const char *  mcc 
)
inline

Class constructor.

Parameters
nodethe node name.
mncthe mobile network code.
mccthe mobile country code.

◆ SGWUPFNodeSelector() [6/6]

EPCDNS::SGWUPFNodeSelector::SGWUPFNodeSelector ( const char *  node,
const unsigned char *  plmnid 
)
inline

Class constructor.

Parameters
nodethe node name.
plmnidthe public land mobile network ID.

Member Function Documentation

◆ addDesiredProtocol()

AppProtocol* EPCDNS::SGWUPFNodeSelector::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: