reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
repro::ProxyConfig Class Reference

#include <ProxyConfig.hxx>

Inheritance diagram for repro::ProxyConfig:
[legend]

Public Member Functions

 ProxyConfig ()
 
virtual ~ProxyConfig ()
 
virtual void printHelpText (int argc, char **argv)
 
void createDataStore (AbstractDb *db, AbstractDb *runtimedb=0)
 
Store * getDataStore ()
 
virtual AbstractDb * getDatabase (int configIndex)
 
- Public Member Functions inherited from resip::SipConfigParse
 SipConfigParse ()
 
 SipConfigParse (const ConfigParse &c)
 
virtual ~SipConfigParse ()
 
bool getConfigValue (const resip::Data &name, resip::Uri &value)
 
resip::Uri getConfigUri (const resip::Data &name, const resip::Uri &defaultValue, bool useDefaultIfEmpty=false)
 
bool getConfigValue (const resip::Data &name, resip::NameAddr &value)
 
resip::NameAddr getConfigNameAddr (const resip::Data &name, const resip::NameAddr &defaultValue, bool useDefaultIfEmpty=false)
 
bool getConfigValue (const resip::Data &name, SecurityTypes::SSLType &value)
 
SecurityTypes::SSLType getConfigSSLType (const resip::Data &name, SecurityTypes::SSLType defaultValue)
 
bool getConfigValue (const resip::Data &name, SecurityTypes::TlsClientVerificationMode &value)
 
SecurityTypes::TlsClientVerificationMode getConfigClientVerificationMode (const resip::Data &name, SecurityTypes::TlsClientVerificationMode defaultValue)
 
- Public Member Functions inherited from resip::ConfigParse
 ConfigParse ()
 
virtual ~ConfigParse ()
 
virtual void parseConfig (int argc, char **argv, const resip::Data &defaultConfigFilename)
 
virtual void parseConfig (int argc, char **argv, const resip::Data &defaultConfigFilename, int skipCount)
 
virtual void parseCommandLine (int argc, char **argv, int skipCount=0)
 
virtual void parseConfigFile (const resip::Data &filename)
 
void getConfigIndexKeys (const resip::Data &indexName, std::set< resip::Data > &keys) const
 
bool getConfigValue (const resip::Data &name, resip::Data &value) const
 
resip::Data getConfigData (const resip::Data &name, const resip::Data &defaultValue, bool useDefaultIfEmpty=false) const
 
bool getConfigValue (const resip::Data &name, bool &value) const
 
bool getConfigBool (const resip::Data &name, bool defaultValue) const
 
bool getConfigValue (const resip::Data &name, unsigned long &value) const
 
unsigned long getConfigUnsignedLong (const resip::Data &name, unsigned long defaultValue) const
 
bool getConfigValue (const resip::Data &name, int &value) const
 
int getConfigInt (const resip::Data &name, int defaultValue) const
 
bool getConfigValue (const resip::Data &name, unsigned short &value) const
 
unsigned short getConfigUnsignedShort (const resip::Data &name, int defaultValue) const
 
bool getConfigValue (const resip::Data &name, std::vector< resip::Data > &value) const
 
bool getConfigValue (const resip::Data &name, std::vector< int > &value) const
 
bool getConfigValue (const resip::Data &name, std::set< resip::Data > &value) const
 
NestedConfigMap getConfigNested (const resip::Data &mapsPrefix) const
 
bool AddBasePathIfRequired (Data &filename) const
 
void insertConfigValue (const resip::Data &name, const resip::Data &value)
 

Protected Attributes

Store * mStore
 
- Protected Attributes inherited from resip::ConfigParse
ConfigValuesMap mCmdLineConfigValues
 
ConfigValuesMap mFileConfigValues
 
ConfigValuesMap mConfigValues
 
resip::Data mCmdLineConfigFilename
 
resip::Data mConfigBasePath
 

Additional Inherited Members

- Public Types inherited from resip::ConfigParse
typedef HashMap< int, NestedConfigParse > NestedConfigMap
 
- Protected Types inherited from resip::ConfigParse
typedef HashMultiMap< resip::Data, resip::Data > ConfigValuesMap
 
- Protected Member Functions inherited from resip::ConfigParse
template<typename T >
bool translateConfigValue (const std::map< T, resip::Data > dict, const resip::Data &name, T &value) const
 
void insertConfigValue (const Data &source, ConfigValuesMap &configValues, const resip::Data &name, const resip::Data &value)
 
resip::Data removePath (const resip::Data &fileAndPath) const
 

Detailed Description

Definition at line 14 of file ProxyConfig.hxx.

Constructor & Destructor Documentation

◆ ProxyConfig()

repro::ProxyConfig::ProxyConfig ( )

Definition at line 22 of file ProxyConfig.cxx.

◆ ~ProxyConfig()

repro::ProxyConfig::~ProxyConfig ( )
virtual

Definition at line 26 of file ProxyConfig.cxx.

Member Function Documentation

◆ createDataStore()

void repro::ProxyConfig::createDataStore ( AbstractDb *  db,
AbstractDb *  runtimedb = 0 
)

Definition at line 43 of file ProxyConfig.cxx.

◆ getDatabase()

virtual AbstractDb * repro::ProxyConfig::getDatabase ( int  configIndex)
inlinevirtual

Reimplemented in MyProxyConfig.

Definition at line 25 of file ProxyConfig.hxx.

◆ getDataStore()

Store * repro::ProxyConfig::getDataStore ( )
inline

Definition at line 23 of file ProxyConfig.hxx.

◆ printHelpText()

void repro::ProxyConfig::printHelpText ( int  argc,
char **  argv 
)
virtual

Reimplemented from resip::SipConfigParse.

Definition at line 33 of file ProxyConfig.cxx.

Member Data Documentation

◆ mStore

Store* repro::ProxyConfig::mStore
protected

Definition at line 30 of file ProxyConfig.hxx.


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