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

The application service object. More...

#include <epcdns.h>

Public Member Functions

 AppService ()
 Default constructor. More...
 
 AppService (const std::string &ds)
 Class constructor. More...
 
 ~AppService ()
 Class destructor. More...
 
AppServiceEnum getService ()
 Retrieves the application service type. More...
 
AppProtocolListgetProtocols ()
 Retrieves the list of application protocols. More...
 
EStringgetRawService ()
 Retrieves the raw application service string. More...
 
Void parse (const std::string &ds)
 Parses an application service string. More...
 
AppProtocolfindProtocol (AppProtocolEnum protocol)
 Searches for a specific application protocol object. More...
 
Void dump ()
 Prints the contents of this object. More...
 

Detailed Description

The application service object.

Constructor & Destructor Documentation

◆ AppService() [1/2]

EPCDNS::AppService::AppService ( )
inline

Default constructor.

◆ AppService() [2/2]

EPCDNS::AppService::AppService ( const std::string &  ds)
inline

Class constructor.

Parameters
dsthe application string to parse.

◆ ~AppService()

EPCDNS::AppService::~AppService ( )
inline

Class destructor.

Member Function Documentation

◆ dump()

Void EPCDNS::AppService::dump ( )
inline

Prints the contents of this object.

◆ findProtocol()

AppProtocol* EPCDNS::AppService::findProtocol ( AppProtocolEnum  protocol)
inline

Searches for a specific application protocol object.

Parameters
protocolthe application protocol to search for.
Returns
pointer to the application protocol object if found, otherwise NULL.

◆ getProtocols()

AppProtocolList& EPCDNS::AppService::getProtocols ( )
inline

Retrieves the list of application protocols.

Returns
the list of application protocols.

◆ getRawService()

EString& EPCDNS::AppService::getRawService ( )
inline

Retrieves the raw application service string.

Returns
the raw application service string.

◆ getService()

AppServiceEnum EPCDNS::AppService::getService ( )
inline

Retrieves the application service type.

Returns
the application service type.

◆ parse()

Void AppService::parse ( const std::string &  ds)

Parses an application service string.

Parameters
dsthe application service string to parse.

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