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

Represents a Diameter server. More...

#include <epcdns.h>

Public Member Functions

 DiameterSrv ()
 Default constructor. More...
 
 ~DiameterSrv ()
 Class destructor. More...
 
uint16_t getPriority ()
 Retrieves the priority value. More...
 
uint16_t setPriority (uint16_t priority)
 Assigns the priority value. More...
 
uint16_t getWeight ()
 Retrieves the weight value. More...
 
uint16_t setWeight (uint16_t weight)
 Assigns the weight value. More...
 
uint16_t getPort ()
 Retrieves the IP port. More...
 
uint16_t setPort (uint16_t port)
 Assigns the IP port. More...
 
DiameterHostgetHost ()
 Retrieves the diameter host. More...
 
Void dump (const char *prefix)
 Prints the contents of this object. More...
 

Detailed Description

Represents a Diameter server.

Constructor & Destructor Documentation

◆ DiameterSrv()

EPCDNS::DiameterSrv::DiameterSrv ( )
inline

Default constructor.

◆ ~DiameterSrv()

EPCDNS::DiameterSrv::~DiameterSrv ( )
inline

Class destructor.

Member Function Documentation

◆ dump()

Void EPCDNS::DiameterSrv::dump ( const char *  prefix)
inline

Prints the contents of this object.

Parameters
prefixa value to prepend to each line.

◆ getHost()

DiameterHost& EPCDNS::DiameterSrv::getHost ( )
inline

Retrieves the diameter host.

Returns
the diameter host.

◆ getPort()

uint16_t EPCDNS::DiameterSrv::getPort ( )
inline

Retrieves the IP port.

Returns
the IP port.

◆ getPriority()

uint16_t EPCDNS::DiameterSrv::getPriority ( )
inline

Retrieves the priority value.

Returns
the priority value.

◆ getWeight()

uint16_t EPCDNS::DiameterSrv::getWeight ( )
inline

Retrieves the weight value.

Returns
the weight value.

◆ setPort()

uint16_t EPCDNS::DiameterSrv::setPort ( uint16_t  port)
inline

Assigns the IP port.

Parameters
portthe IP port.
Returns
the IP port.

◆ setPriority()

uint16_t EPCDNS::DiameterSrv::setPriority ( uint16_t  priority)
inline

Assigns the priority value.

Parameters
prioritythe priority value.
Returns
the priority value.

◆ setWeight()

uint16_t EPCDNS::DiameterSrv::setWeight ( uint16_t  weight)
inline

Assigns the weight value.

Parameters
weightthe weight value.
Returns
the weight value.

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