EpcTools
An event based multi-threaded C++ development framework.
|
Application protocol object. More...
#include <epcdns.h>
Public Member Functions | |
AppProtocol () | |
Default constructor. More... | |
~AppProtocol () | |
Class destructor. More... | |
const EString & | getRawProtocol () |
Retrieves the raw protocol string. More... | |
AppProtocolEnum | getProtocol () |
Retrieves the protocol enumeration. More... | |
UsageTypeList & | getUsageTypes () |
Retrieves the list of usage types. More... | |
NetworkCapabilityList & | getNetworkCapabilities () |
Retrieves the list of network capabilities. More... | |
AppProtocolEnum | setProtocol (AppProtocolEnum ape) |
Assigns the protocol enumeration. More... | |
UsageType | addUsageType (UsageType ut) |
Adds a usage type object to the usage type list. More... | |
NetworkCapability & | addNetworkCapability (NetworkCapability &nc) |
Adds a network capability to the network capability list. More... | |
Void | parse (const std::string &rp) |
Parses any usage types and network capabilities. More... | |
Bool | findUsageType (UsageType ut) |
Determines if a usage type exists in the usage type list. More... | |
Bool | findNetworkCapability (const NetworkCapability &nc) |
Determines if a network capability exists in the network capabilities list. More... | |
Void | dump (const char *prefix="") |
Prints the contents of this object. More... | |
Application protocol object.
|
inline |
Default constructor.
|
inline |
Class destructor.
|
inline |
Adds a network capability to the network capability list.
nc | the network capability to add. |
|
inline |
Adds a usage type object to the usage type list.
ut | the usage type to add. |
|
inline |
Prints the contents of this object.
prefix | a value to prepend to each line. |
|
inline |
Determines if a network capability exists in the network capabilities list.
nc | the network capability to search for. |
|
inline |
Determines if a usage type exists in the usage type list.
ut | the usage type to search for. |
|
inline |
Retrieves the list of network capabilities.
|
inline |
Retrieves the protocol enumeration.
|
inline |
Retrieves the raw protocol string.
|
inline |
Retrieves the list of usage types.
Void AppProtocol::parse | ( | const std::string & | rp | ) |
Parses any usage types and network capabilities.
rp | the string to parse. |
|
inline |
Assigns the protocol enumeration.
ape | the protocol enumeration. |